================
@@ -204,6 +205,26 @@ class LifetimeTestHelper {
return Runner.getAnalysis().getFactManager().getBlockContaining(P);
}
+ void trackAssignmentHistoryInOneBlock(
----------------
suoyuan666 wrote:
This is primarily because I wanted to avoid changing the parameters of my
`trackAssignmentHistory` function. While it might be better if
`trackAssignmentHistory` could accept a list of Facts, I specifically require a
block.
I’ve now added `getBlockID` to `FactMgr` so I can get the required block
directly.
https://github.com/llvm/llvm-project/pull/196075
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits