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
				
			@@ -532,7 +532,7 @@ void FindUsages::memInitializer(MemInitializerAST *ast)
 | 
			
		||||
    if (_currentScope->isFunction()) {
 | 
			
		||||
        Class *classScope = _currentScope->enclosingClass();
 | 
			
		||||
        if (! classScope) {
 | 
			
		||||
            if (ClassOrNamespace *binding = _context.lookupType(_currentScope)) {
 | 
			
		||||
            if (LookupScope *binding = _context.lookupType(_currentScope)) {
 | 
			
		||||
                foreach (Symbol *s, binding->symbols()) {
 | 
			
		||||
                    if (Class *k = s->asClass()) {
 | 
			
		||||
                        classScope = k;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user