[cfe-commits] r152526 - /cfe/trunk/lib/AST/ExprConstant.cpp
Douglas Gregor
dgregor at apple.com
Sat Mar 10 18:23:57 PST 2012
Author: dgregor
Date: Sat Mar 10 20:23:56 2012
New Revision: 152526
URL: http://llvm.org/viewvc/llvm-project?rev=152526&view=rev
Log:
Add a missing 'template' keyword.
Modified:
cfe/trunk/lib/AST/ExprConstant.cpp
Modified: cfe/trunk/lib/AST/ExprConstant.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/ExprConstant.cpp?rev=152526&r1=152525&r2=152526&view=diff
==============================================================================
--- cfe/trunk/lib/AST/ExprConstant.cpp (original)
+++ cfe/trunk/lib/AST/ExprConstant.cpp Sat Mar 10 20:23:56 2012
@@ -4211,7 +4211,7 @@
/// 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();
}
More information about the cfe-commits
mailing list