================
@@ -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>
----------------
SergeyShch01 wrote:

Thanks. The std::vector belongs to the existing PFT cache, and this class only 
borrows its records. I've changed the interface to 
std::optional<llvm::ArrayRef<pft::Variable>> and removed <vector> from this 
header. The owned globalBindings list remains a SmallVector.

https://github.com/llvm/llvm-project/pull/236384
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to