Silence unhandled namespace declaration warnings

This commit is contained in:
Jacob Dufault 2018-01-03 08:05:52 -08:00
parent 66af432946
commit 4514e2f9ce

View File

@ -1182,6 +1182,9 @@ void OnIndexDeclaration(CXClientData client_data, const CXIdxDeclInfo* decl) {
NamespaceHelper* ns = &param->ns;
switch (decl->entityInfo->kind) {
case CXIdxEntity_CXXNamespace:
break;
case CXIdxEntity_ObjCProperty:
case CXIdxEntity_ObjCIvar:
case CXIdxEntity_EnumConstant: