diff options
author | Ken Martin <ken.martin@kitware.com> | 2006-05-11 19:50:11 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2006-05-11 19:50:11 (GMT) |
commit | ba2b99bb9ff5e260f3129fdb4f87ae7e67a08301 (patch) | |
tree | 9813a8b1160fa7900b626b0092c01cdd1c306ebc /Source/cmIfCommand.cxx | |
parent | 80f71359c1157ddaa59291b95d2c05ceb577ffde (diff) | |
download | CMake-ba2b99bb9ff5e260f3129fdb4f87ae7e67a08301.zip CMake-ba2b99bb9ff5e260f3129fdb4f87ae7e67a08301.tar.gz CMake-ba2b99bb9ff5e260f3129fdb4f87ae7e67a08301.tar.bz2 |
STYLE: fix line length
Diffstat (limited to 'Source/cmIfCommand.cxx')
-rw-r--r-- | Source/cmIfCommand.cxx | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/Source/cmIfCommand.cxx b/Source/cmIfCommand.cxx index b611796..4e7c777 100644 --- a/Source/cmIfCommand.cxx +++ b/Source/cmIfCommand.cxx @@ -55,7 +55,8 @@ IsFunctionBlocked(const cmListFileFunction& lff, cmMakefile &mf) err += ". Did you mean "; err += name; err += "( "; - for(std::vector<cmListFileArgument>::const_iterator a = this->Args.begin(); + for(std::vector<cmListFileArgument>::const_iterator a = + this->Args.begin(); a != this->Args.end();++a) { err += (a->Quoted?"\"":""); @@ -86,7 +87,8 @@ bool cmIfFunctionBlocker::ShouldRemove(const cmListFileFunction& lff, void cmIfFunctionBlocker:: ScopeEnded(cmMakefile &mf) { - std::string errmsg = "The end of a CMakeLists file was reached with an IF statement that was not closed properly.\nWithin the directory: "; + std::string errmsg = "The end of a CMakeLists file was reached with an " + "IF statement that was not closed properly.\nWithin the directory: "; errmsg += mf.GetCurrentDirectory(); errmsg += "\nThe arguments are: "; for(std::vector<cmListFileArgument>::const_iterator j = this->Args.begin(); @@ -100,13 +102,15 @@ ScopeEnded(cmMakefile &mf) cmSystemTools::Message(errmsg.c_str(), "Warning"); } -bool cmIfCommand::InvokeInitialPass(const std::vector<cmListFileArgument>& args) +bool cmIfCommand +::InvokeInitialPass(const std::vector<cmListFileArgument>& args) { char* errorString = 0; std::vector<std::string> expandedArguments; this->Makefile->ExpandArguments(args, expandedArguments); - bool isTrue = cmIfCommand::IsTrue(expandedArguments,&errorString,this->Makefile); + bool isTrue = + cmIfCommand::IsTrue(expandedArguments,&errorString,this->Makefile); if (errorString) { |