From 8e55ed1ad3acf9c7f8424aa7d326b3b2c18e943b Mon Sep 17 00:00:00 2001 From: Douglas Gregor <dgregor@apple.com> Date: Sun, 11 Mar 2012 02:23:56 +0000 Subject: [PATCH] Add a missing 'template' keyword. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152526 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/AST/ExprConstant.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/AST/ExprConstant.cpp b/lib/AST/ExprConstant.cpp index 2a2b6fb3736..2d921467f77 100644 --- a/lib/AST/ExprConstant.cpp +++ b/lib/AST/ExprConstant.cpp @@ -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(); } -- GitLab