Add a missing 'template' keyword.

llvm-svn: 152526
This commit is contained in:
Douglas Gregor 2012-03-11 02:23:56 +00:00
parent 39b010f58a
commit f31cee6e1d
1 changed files with 1 additions and 1 deletions

View File

@ -4211,7 +4211,7 @@ static int EvaluateBuiltinClassifyType(const CallExpr *E) {
/// character of a string literal.
template<typename LValue>
static bool EvaluateBuiltinConstantPForLValue(const LValue &LV) {
const Expr *E = LV.getLValueBase().dyn_cast<const Expr*>();
const Expr *E = LV.getLValueBase().template dyn_cast<const Expr*>();
return E && isa<StringLiteral>(E) && LV.getLValueOffset().isZero();
}