diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-02-22 17:44:58 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-02-22 17:44:58 +0000 |
commit | f005d3c1a2a1d8c1f478d68e5024df11baa9d2be (patch) | |
tree | bda602e0c208274e131d4ad77d1cbeec30693cd4 | |
parent | 873c9ffba0a54e339236f5668c3143ced2cd608b (diff) | |
download | bcm5719-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.cpp | 1 |
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; |