diff options
-rw-r--r-- | tools/libclang/CIndex.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/libclang/CIndex.cpp b/tools/libclang/CIndex.cpp index 563cc512d8..36224a8cff 100644 --- a/tools/libclang/CIndex.cpp +++ b/tools/libclang/CIndex.cpp @@ -4457,6 +4457,7 @@ CXCursor clang_getCursorDefinition(CXCursor C) { // Declaration kinds that don't make any sense here, but are // nonetheless harmless. + case Decl::Empty: case Decl::TranslationUnit: break; |