commit | 5e16fbe5621804a06a60b886b6f95e018751e92d | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Mon May 18 20:51:54 2009 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Mon May 18 20:51:54 2009 +0000 |
tree | 597c619d11e98bdce21d930caa9e2b1ba35ba53d | |
parent | 9b0276092336641907aebf4f8b7874314695632b [diff] [blame] |
Template instantiation for C++ try/catch statements. llvm-svn: 72035
diff --git a/clang/lib/AST/Stmt.cpp b/clang/lib/AST/Stmt.cpp index 71103b8..b2fadb1 100644 --- a/clang/lib/AST/Stmt.cpp +++ b/clang/lib/AST/Stmt.cpp
@@ -564,7 +564,7 @@ QualType CXXCatchStmt::getCaughtType() { if (ExceptionDecl) - return llvm::cast<VarDecl>(ExceptionDecl)->getType(); + return ExceptionDecl->getType(); return QualType(); }