macro: Add extra indentation to placeholder substitution code

The next commit will make this block conditional so pre-indent it
to clarify the simplicity of the change.
This commit is contained in:
Brad King 2013-10-30 19:04:18 -04:00
parent 8a6e82724c
commit 999abb993e

View File

@ -160,7 +160,7 @@ bool cmMacroHelperCommand::InvokeInitialPass
{ {
std::vector<std::string>::const_iterator eit; std::vector<std::string>::const_iterator eit;
std::vector<std::string>::size_type cnt = 0; std::vector<std::string>::size_type cnt = 0;
for ( eit = expandedArgs.begin(); eit != expandedArgs.end(); ++eit ) for(eit = expandedArgs.begin(); eit != expandedArgs.end(); ++eit)
{ {
if ( cnt >= this->Args.size()-1 ) if ( cnt >= this->Args.size()-1 )
{ {
@ -187,7 +187,7 @@ bool cmMacroHelperCommand::InvokeInitialPass
if (!argvDefInitialized) if (!argvDefInitialized)
{ {
std::vector<std::string>::const_iterator eit; std::vector<std::string>::const_iterator eit;
for ( eit = expandedArgs.begin(); eit != expandedArgs.end(); ++eit ) for(eit = expandedArgs.begin(); eit != expandedArgs.end(); ++eit)
{ {
if ( argvDef.size() > 0 ) if ( argvDef.size() > 0 )
{ {