summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/symbolfinder.cpp
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2015-04-20 17:42:34 +0300
committerOrgad Shaneh <orgads@gmail.com>2015-04-20 14:51:56 +0000
commitcb350bfeb26afaa047f74232b7afc3f143684ef6 (patch)
treedba299523c5055505cfdc2dc299d092a13094f74 /src/plugins/cpptools/symbolfinder.cpp
parent9e1e11db60995bf4d826b1424802ce96a10e064f (diff)
downloadqt-creator-cb350bfeb26afaa047f74232b7afc3f143684ef6.tar.gz
C++: Rename ClassOrNamespace -> LookupScope
Change-Id: Ide74482b133dd1fec40a725d9aa81bd749385f37 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
Diffstat (limited to 'src/plugins/cpptools/symbolfinder.cpp')
-rw-r--r--src/plugins/cpptools/symbolfinder.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/cpptools/symbolfinder.cpp b/src/plugins/cpptools/symbolfinder.cpp
index d307a0c07d..52bad5ab25 100644
--- a/src/plugins/cpptools/symbolfinder.cpp
+++ b/src/plugins/cpptools/symbolfinder.cpp
@@ -149,7 +149,7 @@ Function *SymbolFinder::findMatchingDefinition(Symbol *declaration,
QList<Function *> viableFunctions;
- ClassOrNamespace *enclosingType = context.lookupType(declaration);
+ LookupScope *enclosingType = context.lookupType(declaration);
if (!enclosingType)
continue; // nothing to do
@@ -232,7 +232,7 @@ Class *SymbolFinder::findMatchingClassDeclaration(Symbol *declaration, const Sna
LookupContext context(doc, snapshot);
- ClassOrNamespace *type = context.lookupType(declaration);
+ LookupScope *type = context.lookupType(declaration);
if (!type)
continue;
@@ -281,7 +281,7 @@ void SymbolFinder::findMatchingDeclaration(const LookupContext &context,
if (!functionName)
return;
- ClassOrNamespace *binding = 0;
+ LookupScope *binding = 0;
const QualifiedNameId *qName = functionName->asQualifiedNameId();
if (qName) {
if (qName->base())