astyle formatting
This commit is contained in:
parent
389bf7ed3f
commit
a94fccf51a
|
@ -188,7 +188,7 @@ int CppCheckExecutor::check(int argc, const char* const argv[])
|
|||
unsigned int c = 0;
|
||||
for (std::map<std::string, std::size_t>::const_iterator i = _files.begin(); i != _files.end(); ++i) {
|
||||
if (!_settings->library.markupFile(i->first)
|
||||
|| !_settings->library.processMarkupAfterCode(i->first)) {
|
||||
|| !_settings->library.processMarkupAfterCode(i->first)) {
|
||||
returnValue += cppCheck.check(i->first);
|
||||
processedsize += i->second;
|
||||
if (!settings._errorsOnly)
|
||||
|
|
|
@ -110,7 +110,7 @@ void CheckUnusedFunctions::parseTokens(const Tokenizer &tokenizer, const char Fi
|
|||
else if (!settings->library.iskeyword(FileName, markupVarToken->str())) {
|
||||
if (_functions.find(markupVarToken->str()) != _functions.end())
|
||||
_functions[markupVarToken->str()].usedOtherFile = true;
|
||||
else if (markupVarToken->next()->str() == "("){
|
||||
else if (markupVarToken->next()->str() == "(") {
|
||||
FunctionUsage &func = _functions[markupVarToken->str()];
|
||||
func.filename = tokenizer.getSourceFilePath();
|
||||
if (func.filename.empty() || func.filename == "+")
|
||||
|
|
Loading…
Reference in New Issue