mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-22 15:45:08 +00:00
[indexer] Remove IsLocalSemanticContainer check in qualified names
This commit is contained in:
parent
ea323a3b4b
commit
ba4a5e91cb
@ -87,8 +87,7 @@ struct NamespaceHelper {
|
||||
ClangCursor cursor = container->cursor;
|
||||
std::vector<ClangCursor> namespaces;
|
||||
std::string qualifier;
|
||||
while (cursor.get_kind() != CXCursor_TranslationUnit &&
|
||||
!IsLocalSemanticContainer(cursor.get_kind())) {
|
||||
while (cursor.get_kind() != CXCursor_TranslationUnit) {
|
||||
auto it = container_cursor_to_qualified_name.find(cursor);
|
||||
if (it != container_cursor_to_qualified_name.end()) {
|
||||
qualifier = it->second;
|
||||
|
Loading…
Reference in New Issue
Block a user