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)
commit846b8f79d4c8f7b395eba40b701fb168406b1416
tree1e33f0f6ad4e87180259ec04796cfb29822b359d
parent0e6cccfb53f66749ddd871c507e081f9694fbb8d
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

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