forked from OSchip/llvm-project
Fix the -Werror build by removing an unused default in a fully covered switch
llvm-svn: 294676
This commit is contained in:
parent
23a543971e
commit
8677e04240
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue