forked from qt-creator/qt-creator
C++: Rename ClassOrNamespace -> LookupScope
Change-Id: Ide74482b133dd1fec40a725d9aa81bd749385f37 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
9e1e11db60
commit
cb350bfeb2
@@ -607,7 +607,7 @@ ChangeSet FunctionDeclDefLink::changes(const Snapshot &snapshot, int targetOffse
|
||||
SubstitutionEnvironment env;
|
||||
env.setContext(sourceContext);
|
||||
env.switchScope(sourceFunction->enclosingScope());
|
||||
ClassOrNamespace *targetCoN = targetContext.lookupType(targetFunction->enclosingScope());
|
||||
LookupScope *targetCoN = targetContext.lookupType(targetFunction->enclosingScope());
|
||||
if (!targetCoN)
|
||||
targetCoN = targetContext.globalNamespace();
|
||||
UseMinimalNames q(targetCoN);
|
||||
@@ -653,7 +653,7 @@ ChangeSet FunctionDeclDefLink::changes(const Snapshot &snapshot, int targetOffse
|
||||
SubstitutionEnvironment env;
|
||||
env.setContext(sourceContext);
|
||||
env.switchScope(sourceFunction);
|
||||
ClassOrNamespace *targetCoN = targetContext.lookupType(targetFunction);
|
||||
LookupScope *targetCoN = targetContext.lookupType(targetFunction);
|
||||
if (!targetCoN)
|
||||
targetCoN = targetContext.globalNamespace();
|
||||
UseMinimalNames q(targetCoN);
|
||||
|
||||
Reference in New Issue
Block a user