This patch introduces transferBranch, which Applies the analysis
transfer function for a given edge from a CFG block of a conditional
statement.
RFC:
https://discourse.llvm.org/t/rfc-clang-dataflow-signanalysis-edgetransfer-branchtransfer/65220
Differential D133698
[clang][dataflow] Implement transferBranch martong on Sep 12 2022, 7:15 AM. Authored by
Details This patch introduces transferBranch, which Applies the analysis RFC:
Diff Detail
Event Timeline
Comment Actions Aligned with the RFC, I am going to dissect this patch into two patches:
Comment Actions
Comment Actions Overall, looks quite good.
Comment Actions FWIW, it looks like this change broke the AIX bot: https://lab.llvm.org/buildbot/#/builders/214/builds/3932 Comment Actions Yes, I've received many build bot failures complaining about the unused private field. I hope that I've fixed that in |
Please use CRTP (a non-virtual function here), and you'll need SFINAE to detect the presence of the overload of branchTransfer in branchTransferTypeErased.