[PATCH] D25983: Fix use-after-free in ASTContext.

2016-10-26 Thread Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL285192: Fix use-after-scope in ASTContext. (authored by d0k). Changed prior to commit: https://reviews.llvm.org/D25983?vs=75860&id=75865#toc Repository: rL LLVM https://reviews.llvm.org/D25983 Files

[PATCH] D25983: Fix use-after-free in ASTContext.

2016-10-26 Thread Sam McCall via cfe-commits
sammccall created this revision. sammccall added a reviewer: bkramer. sammccall added subscribers: cfe-commits, rsmith. Extend lifetime of ExceptionTypeStorage, as it is referenced by CanonicalEPI and used outside the block (ExceptionSpec.Exceptions is an ArrayRef) https://reviews.llvm.org/D259