astyle formatting
This commit is contained in:
parent
fb37137216
commit
c7aed8bd0e
|
@ -328,9 +328,9 @@ unsigned int CppCheck::check(const std::string &path)
|
|||
const std::string analyzerInfo = mSettings.buildDir.empty() ? std::string() : AnalyzerInformation::getAnalyzerInfoFile(mSettings.buildDir, path, "");
|
||||
const std::string clangcmd = analyzerInfo + ".clang-cmd";
|
||||
const std::string clangStderr = analyzerInfo + ".clang-stderr";
|
||||
std::string exe = mSettings.clangExecutable;
|
||||
std::string exe = mSettings.clangExecutable;
|
||||
#ifdef _WIN32
|
||||
// append .exe if it is not a path
|
||||
// append .exe if it is not a path
|
||||
if (Path::fromNativeSeparators(mSettings.clangExecutable).find('/') == std::string::npos) {
|
||||
exe += ".exe";
|
||||
}
|
||||
|
|
|
@ -790,8 +790,7 @@ static void setTokenValue(Token* tok, const ValueFlow::Value &value, const Setti
|
|||
// Value can't be inverted
|
||||
continue;
|
||||
v.intvalue = -v.intvalue;
|
||||
}
|
||||
else
|
||||
} else
|
||||
v.floatValue = -v.floatValue;
|
||||
v.invertBound();
|
||||
setTokenValue(parent, v, settings);
|
||||
|
|
Loading…
Reference in New Issue