================
@@ -28,6 +28,7 @@
 #include "flang/Semantics/unparse-with-symbols.h"
 #include "flang/Support/default-kinds.h"
 #include "flang/Tools/CrossToolHelpers.h"
+#include "clang/CodeGen/BackendUtil.h"
----------------
tarunprabhu wrote:

We should not include clang headers unless necessary. If this was to obtain the 
declaration of `ClPGOColdFuncAttr`, it may be better to expose it in 
`llvm/Frontend/CodeGenOptions.h` and include that header here instead

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