[clang] [flang] [flang][OpenMP] Globalize MAIN scalars used in parallel regions (PR #236384)

Tarun Prabhu via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 28 07:08:14 PDT 2026


================
@@ -10,7 +10,10 @@
 #define FORTRAN_LOWER_HOSTASSOCIATIONS_H
 
 #include "mlir/IR/Types.h"
+#include "llvm/ADT/STLFunctionalExtras.h"
 #include "llvm/ADT/SetVector.h"
+#include "llvm/ADT/SmallVector.h"
+#include <vector>
----------------
tarunprabhu wrote:

If we are already including a `SmallVector`, would it be better to stick to using a `SmallVector` for everything instead of using an `std::vector`?

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


More information about the cfe-commits mailing list