]> granicus.if.org Git - clang/commit
Fix use-after-scope in ASTContext.
authorBenjamin Kramer <benny.kra@googlemail.com>
Wed, 26 Oct 2016 12:51:45 +0000 (12:51 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Wed, 26 Oct 2016 12:51:45 +0000 (12:51 +0000)
commit674ce2410c40b833bb0afdb19a3c217ff6b01b3e
tree25d9b2065fd5964e2aeac2100af8293bffcec430
parent4970df6f2dd388be853b81443bcf6c7e62c7b253
Fix use-after-scope in ASTContext.

Extend lifetime of ExceptionTypeStorage, as it is referenced by
CanonicalEPI and used outside the block (ExceptionSpec.Exceptions is an
ArrayRef)

Patch by Sam McCall!

Differential Revision: https://reviews.llvm.org/D25983

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@285192 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/ASTContext.cpp