summaryrefslogtreecommitdiffstats
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
commitf005d3c1a2a1d8c1f478d68e5024df11baa9d2be (patch)
treebda602e0c208274e131d4ad77d1cbeec30693cd4
parent873c9ffba0a54e339236f5668c3143ced2cd608b (diff)
downloadbcm5719-llvm-f005d3c1a2a1d8c1f478d68e5024df11baa9d2be.tar.gz
bcm5719-llvm-f005d3c1a2a1d8c1f478d68e5024df11baa9d2be.zip
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. llvm-svn: 175902
-rw-r--r--clang/tools/libclang/CIndex.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/tools/libclang/CIndex.cpp b/clang/tools/libclang/CIndex.cpp
index 563cc512d87..36224a8cffd 100644
--- a/clang/tools/libclang/CIndex.cpp
+++ b/clang/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;
OpenPOWER on IntegriCloud