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

@ -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;

View File

@ -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;
} }