summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2017-02-10 00:06:38 +0000
committerDavid Blaikie <dblaikie@gmail.com>2017-02-10 00:06:38 +0000
commit8677e04240c04f371b9bf0bc7c27913fe961c369 (patch)
tree2b46b29e8e8295cfcf9bfd3b9cbb3e5e012bc218
parent23a543971e6f0549e158e66a08f3631c2ccb617e (diff)
downloadbcm5719-llvm-8677e04240c04f371b9bf0bc7c27913fe961c369.tar.gz
bcm5719-llvm-8677e04240c04f371b9bf0bc7c27913fe961c369.zip
Fix the -Werror build by removing an unused default in a fully covered switch
llvm-svn: 294676
-rw-r--r--clang/lib/CodeGen/MacroPPCallbacks.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/MacroPPCallbacks.cpp b/clang/lib/CodeGen/MacroPPCallbacks.cpp
index 71eb55ca2f1..a22cf093c8d 100644
--- a/clang/lib/CodeGen/MacroPPCallbacks.cpp
+++ b/clang/lib/CodeGen/MacroPPCallbacks.cpp
@@ -122,8 +122,6 @@ void MacroPPCallbacks::updateStatusToNextScope() {
void MacroPPCallbacks::FileEntered(SourceLocation Loc) {
SourceLocation LineLoc = getCorrectLocation(LastHashLoc);
switch (Status) {
- default:
- llvm_unreachable("Do not expect to enter a file from current scope");
case NoScope:
updateStatusToNextScope();
break;
OpenPOWER on IntegriCloud