================
@@ -105,7 +117,10 @@ void collectLifetimeStats(AnalysisDeclContext &AC, 
OriginManager &OM,
 void runLifetimeSafetyAnalysis(AnalysisDeclContext &AC,
                                LifetimeSafetyReporter *Reporter,
                                LifetimeSafetyStats &Stats, bool CollectStats) {
-  internal::LifetimeSafetyAnalysis Analysis(AC, Reporter);
+  LifetimeSafetyOpts LSOpts;
----------------
Xazax-hun wrote:

I wonder if we actually need `LifetimeSafetyOpts` at all. Since we already pass 
in `AnalysisDeclContext`, we could just get the language options inside 
`LifetimeSafetyAnalysis`.

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