blob: dbba7095627c764dd23ca696e7d4d2d90aa9b09d [file] [log] [blame]
Sean Callanan2fccde42012-03-28 02:25:40 +00001Index: lib/AST/ExprConstant.cpp
2===================================================================
3--- lib/AST/ExprConstant.cpp (revision 152265)
4+++ lib/AST/ExprConstant.cpp (working copy)
5@@ -4210,7 +4210,7 @@
6 /// character of a string literal.
7 template<typename LValue>
8 static bool EvaluateBuiltinConstantPForLValue(const LValue &LV) {
9- const Expr *E = LV.getLValueBase().dyn_cast<const Expr*>();
10+ const Expr *E = LV.getLValueBase().template dyn_cast<const Expr*>();
11 return E && isa<StringLiteral>(E) && LV.getLValueOffset().isZero();
12 }
13