]> granicus.if.org Git - clang/commit
Fix stack-use-after-scope in CheckExplicitlyDefaultedMemberExceptionSpec
authorVitaly Buka <vitalybuka@google.com>
Mon, 5 Dec 2016 19:25:00 +0000 (19:25 +0000)
committerVitaly Buka <vitalybuka@google.com>
Mon, 5 Dec 2016 19:25:00 +0000 (19:25 +0000)
commit964bf8a1c40a510a536bba239a0324015f30e523
treec18db22c3ddc5b76489fd3d5415eb2347d6261a9
parentffdb307f513c0496d5a4eaf205179e09eb5ac19a
Fix stack-use-after-scope in CheckExplicitlyDefaultedMemberExceptionSpec

Summary:
Similar to r288685.
getExceptionSpec returned structure with pointers to temporarily object created
by computeImplicitExceptionSpec.

Reviewers: rsmith

Subscribers: aizatsky, cfe-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@288689 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDeclCXX.cpp