[llvm-branch-commits] [flang] [llvm] [flang][OpenMP] Switch OpenMP version from unsigned to llvm::omp::Version (PR #219822)

Krzysztof Parzyszek via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Sep 1 07:16:34 PDT 2026


================
@@ -87,6 +88,10 @@ class LangOptions : public LangOptionsBase {
   /// List of triples passed in using -fopenmp-targets.
   std::vector<llvm::Triple> OMPTargetTriples;
 
+  llvm::omp::Version getOpenMP() const {
----------------
kparzysz wrote:

Yes, Alexey made the same suggestion for clang in the clang PR.

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


More information about the llvm-branch-commits mailing list