diff options
Diffstat (limited to 'clang/lib/AST/ExprConstant.cpp')
-rw-r--r-- | clang/lib/AST/ExprConstant.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/ExprConstant.cpp b/clang/lib/AST/ExprConstant.cpp index 856efc8..e654480 100644 --- a/clang/lib/AST/ExprConstant.cpp +++ b/clang/lib/AST/ExprConstant.cpp @@ -87,7 +87,7 @@ namespace { return D->getType(); } - if (TypeInfoLValue TI = B.dyn_cast<TypeInfoLValue>()) + if (B.is<TypeInfoLValue>()) return B.getTypeInfoType(); const Expr *Base = B.get<const Expr*>(); |