diff options
Diffstat (limited to 'clang/lib/AST/Stmt.cpp')
| -rw-r--r-- | clang/lib/AST/Stmt.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/clang/lib/AST/Stmt.cpp b/clang/lib/AST/Stmt.cpp index 71103b83e3c..b2fadb1834f 100644 --- a/clang/lib/AST/Stmt.cpp +++ b/clang/lib/AST/Stmt.cpp @@ -564,7 +564,7 @@ Stmt::child_iterator CXXCatchStmt::child_end() {  QualType CXXCatchStmt::getCaughtType() {    if (ExceptionDecl) -    return llvm::cast<VarDecl>(ExceptionDecl)->getType(); +    return ExceptionDecl->getType();    return QualType();  } | 

