From cb350bfeb26afaa047f74232b7afc3f143684ef6 Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Mon, 20 Apr 2015 17:42:34 +0300 Subject: C++: Rename ClassOrNamespace -> LookupScope Change-Id: Ide74482b133dd1fec40a725d9aa81bd749385f37 Reviewed-by: Nikolai Kosjar --- src/plugins/cpptools/symbolfinder.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/plugins/cpptools/symbolfinder.cpp') 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 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()) -- cgit v1.2.1