forked from OSchip/llvm-project
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:
parent
dd782d77ef
commit
f8cf9d4851
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue