From f005d3c1a2a1d8c1f478d68e5024df11baa9d2be Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Fri, 22 Feb 2013 17:44:58 +0000 Subject: [PATCH] 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 --- clang/tools/libclang/CIndex.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/clang/tools/libclang/CIndex.cpp b/clang/tools/libclang/CIndex.cpp index 563cc51..36224a8 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; -- 2.7.4