mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-22 15:45:08 +00:00
Silence unhandled namespace declaration warnings
This commit is contained in:
parent
66af432946
commit
4514e2f9ce
@ -1182,6 +1182,9 @@ void OnIndexDeclaration(CXClientData client_data, const CXIdxDeclInfo* decl) {
|
||||
NamespaceHelper* ns = ¶m->ns;
|
||||
|
||||
switch (decl->entityInfo->kind) {
|
||||
case CXIdxEntity_CXXNamespace:
|
||||
break;
|
||||
|
||||
case CXIdxEntity_ObjCProperty:
|
||||
case CXIdxEntity_ObjCIvar:
|
||||
case CXIdxEntity_EnumConstant:
|
||||
|
Loading…
Reference in New Issue
Block a user