diff options
author | Douglas Gregor <dgregor@apple.com> | 2012-03-11 02:23:56 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2012-03-11 02:23:56 +0000 |
commit | 8e55ed1ad3acf9c7f8424aa7d326b3b2c18e943b (patch) | |
tree | b9259289dcda643cccfb93121e4de4df42803758 /lib/AST/ExprConstant.cpp | |
parent | 3e67814381a56e70e68481e91e26f05a43a05ba0 (diff) |
Add a missing 'template' keyword.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152526 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/ExprConstant.cpp')
-rw-r--r-- | lib/AST/ExprConstant.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<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(); } |