diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2015-04-08 00:13:33 +0000 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2015-04-08 00:13:33 +0000 |
commit | aa301de7e48c994095aeeb6a1025fc056c34c123 (patch) | |
tree | 9eff1a81e664d7dc1fa56b7ad776e6f5b7334da2 /clang/lib/Sema/SemaStmt.cpp | |
parent | 8aee642909bdac944953e2e2a5f834eb8ce9eb99 (diff) | |
download | bcm5719-llvm-aa301de7e48c994095aeeb6a1025fc056c34c123.tar.gz bcm5719-llvm-aa301de7e48c994095aeeb6a1025fc056c34c123.zip |
Appease build bots that cannot find a viable conversion through CanQualType.
llvm-svn: 234376
Diffstat (limited to 'clang/lib/Sema/SemaStmt.cpp')
-rw-r--r-- | clang/lib/Sema/SemaStmt.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaStmt.cpp b/clang/lib/Sema/SemaStmt.cpp index 8bf1403f38c..5774f53c060 100644 --- a/clang/lib/Sema/SemaStmt.cpp +++ b/clang/lib/Sema/SemaStmt.cpp @@ -3404,7 +3404,8 @@ StmtResult Sema::ActOnCXXTryBlock(SourceLocation TryLoc, Stmt *TryBlock, // Walk the type hierarchy to diagnose when this type has already been // handled (duplication), or cannot be handled (derivation inversion). We // ignore top-level cv-qualifiers, per [except.handle]p3 - CatchHandlerType HandlerCHT = Context.getCanonicalType(H->getCaughtType()); + CatchHandlerType HandlerCHT = + (QualType)Context.getCanonicalType(H->getCaughtType()); // We can ignore whether the type is a reference or a pointer; we need the // underlying declaration type in order to get at the underlying record |