================
@@ -148,6 +148,55 @@ class CodeGenOptions : public CodeGenOptionsBase {
   /// OpenMP is enabled.
   using DoConcurrentMappingKind = flangomp::DoConcurrentMappingKind;
 
+  enum ProfileInstrKind {
----------------
tarunprabhu wrote:

Can this enum be shared between `clang` and `flang`? There is precedent for 
doing this, for example with the `VectorLibrary` enum. That was moved to 
`llvm/include/llvm/Frontend/Driver/CodeGenOptions.h`. We could consider doing 
the same for this.

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

Reply via email to