diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2007-04-12 19:50:39 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2007-04-12 19:50:39 (GMT) |
commit | 5981d23d0e486829f061399cebeb365e77edcd0c (patch) | |
tree | a79d81ebbe67d07b42677e198a879bf49085f271 /Source | |
parent | 2a1e2456ae98a1d89715a428df7245ade72101ae (diff) | |
download | CMake-5981d23d0e486829f061399cebeb365e77edcd0c.zip CMake-5981d23d0e486829f061399cebeb365e77edcd0c.tar.gz CMake-5981d23d0e486829f061399cebeb365e77edcd0c.tar.bz2 |
STYLE: Fix line lengths
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmVariableWatchCommand.cxx | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/Source/cmVariableWatchCommand.cxx b/Source/cmVariableWatchCommand.cxx index 8e83756..8c5ed31 100644 --- a/Source/cmVariableWatchCommand.cxx +++ b/Source/cmVariableWatchCommand.cxx @@ -23,7 +23,8 @@ static void cmVariableWatchCommandVariableAccessed( const std::string& variable, int access_type, void* client_data, const char* newValue, const cmMakefile* mf) { - cmVariableWatchCommand* command = static_cast<cmVariableWatchCommand*>(client_data); + cmVariableWatchCommand* command + = static_cast<cmVariableWatchCommand*>(client_data); command->VariableAccessed(variable, access_type, newValue, mf); } @@ -88,11 +89,16 @@ void cmVariableWatchCommand::VariableAccessed(const std::string& variable, { std::string command = *it; newLFF.Arguments.clear(); - newLFF.Arguments.push_back(cmListFileArgument(variable, true, "unknown", 9999)); - newLFF.Arguments.push_back(cmListFileArgument(accessString, true, "unknown", 9999)); - newLFF.Arguments.push_back(cmListFileArgument(newValue?newValue:"", true, "unknown", 9999)); - newLFF.Arguments.push_back(cmListFileArgument(currentListFile, true, "unknown", 9999)); - newLFF.Arguments.push_back(cmListFileArgument(stack, true, "unknown", 9999)); + newLFF.Arguments.push_back( + cmListFileArgument(variable, true, "unknown", 9999)); + newLFF.Arguments.push_back( + cmListFileArgument(accessString, true, "unknown", 9999)); + newLFF.Arguments.push_back( + cmListFileArgument(newValue?newValue:"", true, "unknown", 9999)); + newLFF.Arguments.push_back( + cmListFileArgument(currentListFile, true, "unknown", 9999)); + newLFF.Arguments.push_back( + cmListFileArgument(stack, true, "unknown", 9999)); newLFF.Name = command; newLFF.FilePath = "Some weird path"; newLFF.Line = 9999; @@ -128,7 +134,8 @@ void cmVariableWatchCommand::VariableAccessed(const std::string& variable, { continue; } - msg2 << vars[cc] << " = \"" << makefile->GetDefinition(vars[cc].c_str()) << "\"" << std::endl; + msg2 << vars[cc] << " = \"" + << makefile->GetDefinition(vars[cc].c_str()) << "\"" << std::endl; } //cmSystemTools::Message(msg2.str().c_str()); } |