[flang-commits] [flang] [flang][OpenMP] Use OmpDirectiveSpecification in Omp[Begin|End]LoopDi… (PR #159087)
Krzysztof Parzyszek via flang-commits
flang-commits at lists.llvm.org
Tue Sep 16 09:37:52 PDT 2025
================
@@ -18,15 +18,32 @@
#include "flang/Parser/openmp-utils.h"
#include "flang/Parser/parse-tree.h"
#include "llvm/ADT/ArrayRef.h"
+#include "llvm/ADT/Bitset.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/StringSet.h"
#include "llvm/Frontend/OpenMP/OMP.h"
+#include "llvm/Support/MathExtras.h"
+
+#include <algorithm>
+#include <cctype>
+#include <iterator>
+#include <list>
+#include <optional>
+#include <string>
+#include <tuple>
+#include <type_traits>
+#include <utility>
+#include <variant>
+#include <vector>
----------------
kparzysz wrote:
For some time I was thinking about using a filter function instead of a set of directives in the parser. I went to add an include of `functional` (for std::function) only to see that there were no std includes at all. So I searched the file for "std::" and added includes for everything I found. I thought about doing it in a separate PR, but then I thought that it probably wasn't worth the effort.
https://github.com/llvm/llvm-project/pull/159087
More information about the flang-commits
mailing list