diff options
Diffstat (limited to 'clang/lib/AST/Expr.cpp')
| -rw-r--r-- | clang/lib/AST/Expr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/Expr.cpp b/clang/lib/AST/Expr.cpp index f330444f1d4..b2cf6adfc16 100644 --- a/clang/lib/AST/Expr.cpp +++ b/clang/lib/AST/Expr.cpp @@ -398,7 +398,7 @@ Expr::isLvalueResult Expr::isLvalue(ASTContext &Ctx) const { // A function call is an lvalue if and only if the result type // is a reference. QualType CalleeType - = dyn_cast<CallExpr>(this)->getCallee()->IgnoreParens()->getType(); + = cast<CallExpr>(this)->getCallee()->IgnoreParens()->getType(); if (const PointerType *FnTypePtr = CalleeType->getAsPointerType()) if (const FunctionType *FnType = FnTypePtr->getPointeeType()->getAsFunctionType()) |

