projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
873c9ff
)
Suppress -Wswitch to unbreak the build.
author
David Blaikie
<dblaikie@gmail.com>
Fri, 22 Feb 2013 17:44:58 +0000
(17:44 +0000)
committer
David Blaikie
<dblaikie@gmail.com>
Fri, 22 Feb 2013 17:44:58 +0000
(17:44 +0000)
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
patch
|
blob
|
history
diff --git
a/clang/tools/libclang/CIndex.cpp
b/clang/tools/libclang/CIndex.cpp
index
563cc51
..
36224a8
100644
(file)
--- 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;