From ece87bb54aaf7c9db0cc5cc8975b10de17da959e Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Fri, 10 Feb 2017 00:06:38 +0000 Subject: [PATCH] Fix the -Werror build by removing an unused default in a fully covered switch git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@294676 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/MacroPPCallbacks.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/CodeGen/MacroPPCallbacks.cpp b/lib/CodeGen/MacroPPCallbacks.cpp index 71eb55ca2f..a22cf093c8 100644 --- a/lib/CodeGen/MacroPPCallbacks.cpp +++ b/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; -- 2.40.0