summaryrefslogtreecommitdiff
path: root/Source/cmVariableWatchCommand.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2007-04-12 15:50:39 -0400
committerAndy Cedilnik <andy.cedilnik@kitware.com>2007-04-12 15:50:39 -0400
commit5981d23d0e486829f061399cebeb365e77edcd0c (patch)
treea79d81ebbe67d07b42677e198a879bf49085f271 /Source/cmVariableWatchCommand.cxx
parent2a1e2456ae98a1d89715a428df7245ade72101ae (diff)
downloadcmake-5981d23d0e486829f061399cebeb365e77edcd0c.tar.gz
STYLE: Fix line lengths
Diffstat (limited to 'Source/cmVariableWatchCommand.cxx')
-rw-r--r--Source/cmVariableWatchCommand.cxx21
1 files changed, 14 insertions, 7 deletions
diff --git a/Source/cmVariableWatchCommand.cxx b/Source/cmVariableWatchCommand.cxx
index 8e83756db0..8c5ed31060 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());
}