aboutsummaryrefslogtreecommitdiff
path: root/tools/libclang
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-02-22 17:44:58 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-02-22 17:44:58 +0000
commitf23546a913825bdc1f972f21f638a6ee472aab20 (patch)
tree72c7f77833100643879bba8ce0bec20cb00f02c9 /tools/libclang
parent684aa73192d92850a926870be62a1787eb5b7ed9 (diff)
Suppress -Wswitch to unbreak the build.
This may need to be fixed more intelligently - I don't have enough context to be sure what the appropriate fix is right now. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175902 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/libclang')
-rw-r--r--tools/libclang/CIndex.cpp1
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;