astyle formatting

This commit is contained in:
Daniel Marjamäki 2020-09-10 08:02:45 +02:00
parent d60520137c
commit f052d32e31
3 changed files with 3 additions and 5 deletions

View File

@ -1478,7 +1478,7 @@ bool isVariableChangedByFunctionCall(const Token *tok, int indirect, const Setti
std::vector<const Variable*> args = getArgumentVars(tok, argnr);
bool conclusive = false;
for(const Variable *arg:args) {
for (const Variable *arg:args) {
if (!arg)
continue;
conclusive = true;

View File

@ -1049,8 +1049,7 @@ public:
return false;
}
static Function* nestedInFunction(const Scope* scope)
{
static Function* nestedInFunction(const Scope* scope) {
while (scope) {
if (scope->type == Scope::eFunction)
break;

View File

@ -217,8 +217,7 @@ namespace ValueFlow {
return valueType == ValueType::LIFETIME && lifetimeScope == LifetimeScope::Argument;
}
bool isSubFunctionLifetimeValue() const
{
bool isSubFunctionLifetimeValue() const {
return valueType == ValueType::LIFETIME && lifetimeScope == LifetimeScope::SubFunction;
}