[llvm] Add option to dump IR to files instead of stderr (PR #66412)

Sebastian Neubauer via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 26 02:39:37 PDT 2023


================
@@ -46,6 +46,16 @@ class PrintIRInstrumentation {
   void registerCallbacks(PassInstrumentationCallbacks &PIC);
 
 private:
+  enum SuffixType {
+    before,
+    after,
+    invalidated,
+  };
----------------
Flakebi wrote:

nit: I think this can be an `enum class` and all the types can be TitleCase (I think this is the prevailing style for new enums).

https://github.com/llvm/llvm-project/pull/66412


More information about the llvm-commits mailing list