Suppress GCC warning for no return after covered switch, and remove some

debugging code from an unreachable codepath.

llvm-svn: 181731
This commit is contained in:
Richard Smith 2013-05-13 20:33:30 +00:00
parent dd782d77ef
commit f8cf9d4851
1 changed files with 1 additions and 2 deletions

View File

@ -2869,10 +2869,9 @@ static EvalStmtResult EvaluateSwitch(APValue &Result, EvalInfo &Info,
case ESR_Returned:
return ESR;
case ESR_CaseNotFound:
Found->dump();
SS->getBody()->dump();
llvm_unreachable("couldn't find switch case");
}
llvm_unreachable("Invalid EvalStmtResult!");
}
// Evaluate a statement.