summaryrefslogtreecommitdiff
path: root/src/libs/cplusplus/LookupContext.h
diff options
context:
space:
mode:
authorRoberto Raggi <roberto.raggi@nokia.com>2009-05-19 14:15:56 +0200
committerRoberto Raggi <roberto.raggi@nokia.com>2009-05-19 14:15:56 +0200
commit398451b9d554cee61e1620032e5280cfca9474ad (patch)
treecaf7e46674a50aa841d1f933cdf3082c80a41269 /src/libs/cplusplus/LookupContext.h
parent754b1c0f0f1a3a4fafcd070494190012981a9747 (diff)
downloadqt-creator-398451b9d554cee61e1620032e5280cfca9474ad.tar.gz
Improved LookupContext::buildVisibleScopes().
Diffstat (limited to 'src/libs/cplusplus/LookupContext.h')
-rw-r--r--src/libs/cplusplus/LookupContext.h4
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,