mirror of
				https://github.com/MaskRay/ccls.git
				synced 2025-11-04 14:17:07 +00:00 
			
		
		
		
	Fix is_local for vars with non-auto storage period
This commit is contained in:
		
							parent
							
								
									90357034df
								
							
						
					
					
						commit
						0793510541
					
				@ -244,7 +244,8 @@ struct VarDef : NameMixin<VarDef> {
 | 
				
			|||||||
            parent_kind == SymbolKind::Method ||
 | 
					            parent_kind == SymbolKind::Method ||
 | 
				
			||||||
            parent_kind == SymbolKind::StaticMethod ||
 | 
					            parent_kind == SymbolKind::StaticMethod ||
 | 
				
			||||||
            parent_kind == SymbolKind::Constructor) &&
 | 
					            parent_kind == SymbolKind::Constructor) &&
 | 
				
			||||||
           storage == clang::SC_None;
 | 
					           (storage == clang::SC_None || storage == clang::SC_Auto ||
 | 
				
			||||||
 | 
					            storage == clang::SC_Register);
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  std::vector<Usr> GetBases() const { return {}; }
 | 
					  std::vector<Usr> GetBases() const { return {}; }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user