================
@@ -17,8 +17,8 @@
 #include "Delta.h"
 
 namespace llvm {
-void reduceAliasesDeltaPass(TestRunner &Test);
-void reduceIFuncsDeltaPass(TestRunner &Test);
+void reduceAliasesDeltaPass(TestRunner &Test, StringRef PassMessage);
----------------
arsenm wrote:

Something is backwards here. The delta pass implementations shouldn't need to 
be told what the message is. Instead, can we have these reduce*DeltaPasses 
return the function_ref to the implementation function, and have the driver in 
DeltaManager handle the printing of the message from the DeltaPass information?

https://github.com/llvm/llvm-project/pull/132813
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to