Fix the -Werror build by removing an unused default in a fully covered switch

llvm-svn: 294676
This commit is contained in:
David Blaikie 2017-02-10 00:06:38 +00:00
parent 23a543971e
commit 8677e04240
1 changed files with 0 additions and 2 deletions

View File

@ -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;