mirror of
				https://github.com/MaskRay/ccls.git
				synced 2025-11-03 22:04:24 +00:00 
			
		
		
		
	Show more variables in global symbol search
This commit is contained in:
		
							parent
							
								
									99db0a1596
								
							
						
					
					
						commit
						1ade2e5ca1
					
				@ -806,7 +806,7 @@ void QueryDatabase::ImportOrUpdate(const std::vector<QueryVar::DefUpdate>& updat
 | 
				
			|||||||
      continue;
 | 
					      continue;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    existing->def = def;
 | 
					    existing->def = def;
 | 
				
			||||||
    if (def.declaring_type)
 | 
					    if (!def.is_local)
 | 
				
			||||||
      UpdateDetailedNames(&existing->detailed_name_idx, SymbolKind::Var, it->second.id, def.detailed_name);
 | 
					      UpdateDetailedNames(&existing->detailed_name_idx, SymbolKind::Var, it->second.id, def.detailed_name);
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user