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);
|
std::vector<const Variable*> args = getArgumentVars(tok, argnr);
|
||||||
bool conclusive = false;
|
bool conclusive = false;
|
||||||
for(const Variable *arg:args) {
|
for (const Variable *arg:args) {
|
||||||
if (!arg)
|
if (!arg)
|
||||||
continue;
|
continue;
|
||||||
conclusive = true;
|
conclusive = true;
|
||||||
|
|
|
@ -1049,8 +1049,7 @@ public:
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
static Function* nestedInFunction(const Scope* scope)
|
static Function* nestedInFunction(const Scope* scope) {
|
||||||
{
|
|
||||||
while (scope) {
|
while (scope) {
|
||||||
if (scope->type == Scope::eFunction)
|
if (scope->type == Scope::eFunction)
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -217,8 +217,7 @@ namespace ValueFlow {
|
||||||
return valueType == ValueType::LIFETIME && lifetimeScope == LifetimeScope::Argument;
|
return valueType == ValueType::LIFETIME && lifetimeScope == LifetimeScope::Argument;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool isSubFunctionLifetimeValue() const
|
bool isSubFunctionLifetimeValue() const {
|
||||||
{
|
|
||||||
return valueType == ValueType::LIFETIME && lifetimeScope == LifetimeScope::SubFunction;
|
return valueType == ValueType::LIFETIME && lifetimeScope == LifetimeScope::SubFunction;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue