forked from OSchip/llvm-project
14 lines
554 B
Diff
14 lines
554 B
Diff
Index: lib/AST/ExprConstant.cpp
|
|
===================================================================
|
|
--- lib/AST/ExprConstant.cpp (revision 152265)
|
|
+++ lib/AST/ExprConstant.cpp (working copy)
|
|
@@ -4210,7 +4210,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();
|
|
}
|
|
|