Fix some not-yet-used diagnostic code in a template, which gcc spotted and clang

did not!

llvm-svn: 146366
This commit is contained in:
Richard Smith 2011-12-12 09:41:58 +00:00
parent 92b1ce0a80
commit 187ef01404
1 changed files with 1 additions and 1 deletions

View File

@ -1576,7 +1576,7 @@ protected:
typedef ExprEvaluatorBase ExprEvaluatorBaseTy;
OptionalDiagnostic CCEDiag(const Expr *E, diag::kind D) {
Info.CCEDiag(E, E->getExprLoc(), D);
return Info.CCEDiag(E->getExprLoc(), D);
}
/// Report an evaluation error. This should only be called when an error is