astyle formatting

[ci skip]
This commit is contained in:
Daniel Marjamäki 2019-04-16 19:07:44 +02:00
parent 253f2c9e9d
commit f26b15e5b5
2 changed files with 10 additions and 13 deletions

View File

@ -349,17 +349,14 @@ void ImportProject::importCompileCommands(std::istream &istr)
comm << arg.get< std::string >() << " ";
}
}
}
else {
} else {
return;
}
}
else if( obj.find( "command" ) != obj.end() ) {
} else if (obj.find("command") != obj.end()) {
if (obj[ "command" ].is< std::string >()) {
comm << obj[ "command" ].get< std::string >();
}
}
else {
} else {
return;
}