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:
b7101e2
)
Fix -Wswitch warning; NFC
author
Aaron Ballman
<aaron@aaronballman.com>
Thu, 27 May 2021 13:23:20 +0000
(09:23 -0400)
committer
Aaron Ballman
<aaron@aaronballman.com>
Thu, 27 May 2021 13:24:43 +0000
(09:24 -0400)
clang/lib/Lex/PPDirectives.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Lex/PPDirectives.cpp
b/clang/lib/Lex/PPDirectives.cpp
index
1ccf24c
..
8fe7066
100644
(file)
--- a/
clang/lib/Lex/PPDirectives.cpp
+++ b/
clang/lib/Lex/PPDirectives.cpp
@@
-3259,6
+3259,9
@@
void Preprocessor::HandleElifFamilyDirective(Token &ElifToken,
case tok::pp_elifndef:
Callbacks->Elifndef(ElifToken.getLocation(), ConditionRange, CI.IfLoc);
break;
+ default:
+ assert(false && "unexpected directive kind");
+ break;
}
}