summaryrefslogtreecommitdiffstats
path: root/Source/cmOutputRequiredFilesCommand.cxx
diff options
context:
space:
mode:
authorKitware Robot <kwrobot@kitware.com>2012-08-13 17:42:58 (GMT)
committerBrad King <brad.king@kitware.com>2012-08-13 18:18:39 (GMT)
commit7bbaa4283de26864b2e55e819db0884771585467 (patch)
treeecb748dbe41a13d8bdea77acd0049cde999d933e /Source/cmOutputRequiredFilesCommand.cxx
parentbe9db98946b7918f279812fd0616abb650eebed0 (diff)
downloadCMake-7bbaa4283de26864b2e55e819db0884771585467.zip
CMake-7bbaa4283de26864b2e55e819db0884771585467.tar.gz
CMake-7bbaa4283de26864b2e55e819db0884771585467.tar.bz2
Remove trailing whitespace from most CMake and C/C++ code
Our Git commit hooks disallow modification or addition of lines with trailing whitespace. Wipe out all remnants of trailing whitespace everywhere except third-party code. Run the following shell code: git ls-files -z -- \ bootstrap doxygen.config '*.readme' \ '*.c' '*.cmake' '*.cpp' '*.cxx' \ '*.el' '*.f' '*.f90' '*.h' '*.in' '*.in.l' '*.java' \ '*.mm' '*.pike' '*.py' '*.txt' '*.vim' | egrep -z -v '^(Utilities/cm|Source/(kwsys|CursesDialog/form)/)' | egrep -z -v '^(Modules/CPack\..*\.in)' | xargs -0 sed -i 's/ \+$//'
Diffstat (limited to 'Source/cmOutputRequiredFilesCommand.cxx')
-rw-r--r--Source/cmOutputRequiredFilesCommand.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/Source/cmOutputRequiredFilesCommand.cxx b/Source/cmOutputRequiredFilesCommand.cxx
index be079c0..01fc2cf 100644
--- a/Source/cmOutputRequiredFilesCommand.cxx
+++ b/Source/cmOutputRequiredFilesCommand.cxx
@@ -28,7 +28,7 @@ void cmLBDepend::DependWalk(cmDependInformation* info)
cmSystemTools::Error("error can not open ", info->FullPath.c_str());
return;
}
-
+
std::string line;
while(cmSystemTools::GetLineFromStream(fin, line))
{
@@ -45,7 +45,7 @@ void cmLBDepend::DependWalk(cmDependInformation* info)
// if a < is not found then move on
if(qstart == std::string::npos)
{
- cmSystemTools::Error("unknown include directive ",
+ cmSystemTools::Error("unknown include directive ",
currentline.c_str() );
continue;
}
@@ -73,7 +73,7 @@ void cmLBDepend::DependWalk(cmDependInformation* info)
}
continue;
}
-
+
// Add this file and all its dependencies.
this->AddDependency(info, includeFile.c_str());
/// add the cxx file if it exists
@@ -89,7 +89,7 @@ void cmLBDepend::DependWalk(cmDependInformation* info)
{
found = true;
}
- for(std::vector<std::string>::iterator i =
+ for(std::vector<std::string>::iterator i =
this->IncludeDirectories.begin();
i != this->IncludeDirectories.end(); ++i)
{
@@ -108,7 +108,7 @@ void cmLBDepend::DependWalk(cmDependInformation* info)
{
found = true;
}
- for(std::vector<std::string>::iterator i =
+ for(std::vector<std::string>::iterator i =
this->IncludeDirectories.begin();
i != this->IncludeDirectories.end(); ++i)
{
@@ -128,7 +128,7 @@ void cmLBDepend::DependWalk(cmDependInformation* info)
{
found = true;
}
- for(std::vector<std::string>::iterator i =
+ for(std::vector<std::string>::iterator i =
this->IncludeDirectories.begin();
i != this->IncludeDirectories.end(); ++i)
{
@@ -148,7 +148,7 @@ void cmLBDepend::DependWalk(cmDependInformation* info)
{
found = true;
}
- for(std::vector<std::string>::iterator i =
+ for(std::vector<std::string>::iterator i =
this->IncludeDirectories.begin();
i != this->IncludeDirectories.end(); ++i)
{
@@ -183,7 +183,7 @@ bool cmOutputRequiredFilesCommand
// store the arg for final pass
this->File = args[0];
this->OutputFile = args[1];
-
+
// compute the list of files
cmLBDepend md;
md.SetMakefile(this->Makefile);
@@ -217,7 +217,7 @@ ListDependencies(cmDependInformation const *info,
// add info to the visited set
visited->insert(info);
// now recurse with info's dependencies
- for(cmDependInformation::DependencySetType::const_iterator d =
+ for(cmDependInformation::DependencySetType::const_iterator d =
info->DependencySet.begin();
d != info->DependencySet.end(); ++d)
{