================
@@ -67,7 +68,7 @@ struct LifetimeFactory {
 class LifetimeSafetyAnalysis {
 public:
   LifetimeSafetyAnalysis(AnalysisDeclContext &AC,
-                         LifetimeSafetyReporter *Reporter);
+                         LifetimeSafetyReporter *Reporter, size_t 
MaxCFGBlocks);
----------------
usx95 wrote:

nit: Instead create a `struct LifetimeSafetyOpts { size_t MaxCFGBlocks; }` and 
document `MaxCFGBlocks`. This struct can be used for other configurations as 
well in the future.

https://github.com/llvm/llvm-project/pull/170444
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to