Page MenuHomePhabricator

[analyzer] NFC: Use construction contexts for finding the target region for the construction.
ClosedPublic

Authored by NoQ on Jan 30 2018, 4:09 PM.

Details

Summary

Previously, we were scanning the CFG forward in order to find out which CFG element contains the expression which is being initialized by the current constructor. Now we have all the context that we needed directly in the CFG (woohoo). As shown in the previous patches in the stack of patches, the new context thing is pretty easy to extend to more cases that we previously didn't support at all. More refactoring would follow soon.

Diff Detail

Repository
rL LLVM