astyle formatting
This commit is contained in:
parent
d60520137c
commit
f052d32e31
|
@ -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