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.
Details
Details
- Reviewers
dcoughlin xazax.hun a.sidorin george.karpenkov szepet - Commits
- rGafb158c2071b: [analyzer] NFC: Use CFG construction contexts instead of homemade lookahead.
rC324800: [analyzer] NFC: Use CFG construction contexts instead of homemade lookahead.
rL324800: [analyzer] NFC: Use CFG construction contexts instead of homemade lookahead.
Diff Detail
Diff Detail