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:
3c426af
)
Silencing an MSVC warning about control reaching the end of a non-void function.
author
Aaron Ballman
<aaron@aaronballman.com>
Wed, 8 Jan 2014 23:08:41 +0000
(23:08 +0000)
committer
Aaron Ballman
<aaron@aaronballman.com>
Wed, 8 Jan 2014 23:08:41 +0000
(23:08 +0000)
llvm-svn: 198804
clang/include/clang/Parse/Parser.h
patch
|
blob
|
history
diff --git
a/clang/include/clang/Parse/Parser.h
b/clang/include/clang/Parse/Parser.h
index
e1609c3
..
611c69e
100644
(file)
--- a/
clang/include/clang/Parse/Parser.h
+++ b/
clang/include/clang/Parse/Parser.h
@@
-1654,6
+1654,8
@@
private:
/// trailing-type-specifier)?
static bool isTypeSpecifier(DeclSpecContext DSC) {
switch (DSC) {
+ default:
+ llvm_unreachable("Missing DeclSpecContext case");
case DSC_normal:
case DSC_class:
case DSC_top_level: