astyle formatting
This commit is contained in:
parent
d60520137c
commit
f052d32e31
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue