forked from qt-creator/qt-creator
Use Prototype instead of Function.
This commit is contained in:
committed by
Oswald Buddenhagen
parent
9aa991d636
commit
4ff3ee2ff0
@@ -283,15 +283,15 @@ Scope *Symbol::enclosingEnumScope() const
|
||||
return _scope->enclosingEnumScope();
|
||||
}
|
||||
|
||||
Scope *Symbol::enclosingFunctionScope() const
|
||||
Scope *Symbol::enclosingPrototypeScope() const
|
||||
{
|
||||
if (! _scope)
|
||||
return 0;
|
||||
|
||||
else if (_scope->isFunctionScope())
|
||||
else if (_scope->isPrototypeScope())
|
||||
return _scope;
|
||||
|
||||
return _scope->enclosingFunctionScope();
|
||||
return _scope->enclosingPrototypeScope();
|
||||
}
|
||||
|
||||
Scope *Symbol::enclosingBlockScope() const
|
||||
|
||||
Reference in New Issue
Block a user