================
@@ -9,6 +9,7 @@
 #ifndef FORTRAN_OPTIMIZER_CODEGEN_CODEGEN_H
 #define FORTRAN_OPTIMIZER_CODEGEN_CODEGEN_H
 
+#include "flang/Frontend/CodeGenOptions.h"
----------------
tarunprabhu wrote:

I think the `CodeGenOptions.h` header is included because of the 
`ComplexRangeKind` enum. If that is moved to 
`llvm/Frontend/Driver/CodeGenOptions.h`, we don't have this issue. It may be 
worth doing it in this PR, but I am ok with moving it in a separate PR as well.

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

Reply via email to