Fix stack-use-after-scope in EvaluateImplicitExceptionSpec
authorVitaly Buka <vitalybuka@google.com>
Mon, 5 Dec 2016 18:30:22 +0000 (18:30 +0000)
committerVitaly Buka <vitalybuka@google.com>
Mon, 5 Dec 2016 18:30:22 +0000 (18:30 +0000)
commitac10dcc2818fe18e6e1fe439dc5db7638ea59a0e
treecf2cbbcea750a50c82ced88401074f8c1706741f
parentfcd3fa83ea2490b9610073da38a91e1b085ff6a4
Fix stack-use-after-scope in EvaluateImplicitExceptionSpec

Summary:
getExceptionSpec returns structure with pointers to temporarily object created
by computeImplicitExceptionSpec.

Reviewers: rsmith

Subscribers: aizatsky, cfe-commits

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

llvm-svn: 288685
clang/lib/Sema/SemaDeclCXX.cpp