HomePhabricator

[analyzer] Fix a crash when doing RVO from within blocks.

Authored by dergachev.a on May 7 2019, 3:33 PM.

Description

[analyzer] Fix a crash when doing RVO from within blocks.

When looking for the location context of the call site, unwrap block invocation
contexts because they are attached to the current AnalysisDeclContext
while what we need is the previous AnalysisDeclContext.

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

llvm-svn: 360202

Details

Committed
dergachev.aMay 7 2019, 3:33 PM
Differential Revision
D61545: [analyzer] Fix a crash in RVO from within blocks.
Parents
rG2e977c083ca4: [MemorySSA] Fix CHECKs in test. [NFC]
Branches
Unknown
Tags
Unknown