diff options
author | Roberto Raggi <roberto.raggi@nokia.com> | 2009-05-19 14:15:56 +0200 |
---|---|---|
committer | Roberto Raggi <roberto.raggi@nokia.com> | 2009-05-19 14:15:56 +0200 |
commit | 398451b9d554cee61e1620032e5280cfca9474ad (patch) | |
tree | caf7e46674a50aa841d1f933cdf3082c80a41269 /src/libs/cplusplus/LookupContext.h | |
parent | 754b1c0f0f1a3a4fafcd070494190012981a9747 (diff) | |
download | qt-creator-398451b9d554cee61e1620032e5280cfca9474ad.tar.gz |
Improved LookupContext::buildVisibleScopes().
Diffstat (limited to 'src/libs/cplusplus/LookupContext.h')
-rw-r--r-- | src/libs/cplusplus/LookupContext.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libs/cplusplus/LookupContext.h b/src/libs/cplusplus/LookupContext.h index f0cbb7aded..a75f9e013f 100644 --- a/src/libs/cplusplus/LookupContext.h +++ b/src/libs/cplusplus/LookupContext.h @@ -128,6 +128,10 @@ public: private: QList<Scope *> buildVisibleScopes(); + + void buildVisibleScopes_helper(Document::Ptr doc, QList<Scope *> *scopes, + QSet<QString> *processed); + static bool isNameCompatibleWithIdentifier(Name *name, Identifier *id); static bool maybeValidSymbol(Symbol *symbol, |