HomePhabricator

[analyzer] NFC: Eliminate ParentMap lookup in mayInlineCallKind().

Authored by dergachev.a on Feb 15 2018, 11:01 AM.

Description

[analyzer] NFC: Eliminate ParentMap lookup in mayInlineCallKind().

Don't look at the parent statement to figure out if the cxx-allocator-inlining
flag should kick in and prevent us from inlining the constructor within
a new-expression. We now have construction contexts for that purpose.

llvm-svn: 325278

Details