Sean Callanan | 2fccde4 | 2012-03-28 02:25:40 +0000 | [diff] [blame] | 1 | Index: 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 | |