From: Douglas Gregor Date: Sun, 11 Mar 2012 02:23:56 +0000 (+0000) Subject: Add a missing 'template' keyword. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8e55ed1ad3acf9c7f8424aa7d326b3b2c18e943b;p=clang Add a missing 'template' keyword. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152526 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/AST/ExprConstant.cpp b/lib/AST/ExprConstant.cpp index 2a2b6fb373..2d921467f7 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 static bool EvaluateBuiltinConstantPForLValue(const LValue &LV) { - const Expr *E = LV.getLValueBase().dyn_cast(); + const Expr *E = LV.getLValueBase().template dyn_cast(); return E && isa(E) && LV.getLValueOffset().isZero(); }