[flang-commits] [flang] b86dbe0 - Fix flang after D76342
via flang-commits
flang-commits at lists.llvm.org
Tue Feb 16 12:38:09 PST 2021
Author: Valentin Clement
Date: 2021-02-16T15:37:58-05:00
New Revision: b86dbe0c23e3d284699da551afc2ca9c634a6c62
URL: https://github.com/llvm/llvm-project/commit/b86dbe0c23e3d284699da551afc2ca9c634a6c62
DIFF: https://github.com/llvm/llvm-project/commit/b86dbe0c23e3d284699da551afc2ca9c634a6c62.diff
LOG: Fix flang after D76342
Fix Flang build after addition of a new OpenMP clauses for a clang patch (D76342).
Flang is using TableGen to generation the declaration of clause checks and the new clause
was missing a definiton.
Reviewed By: klausler
Differential Revision: https://reviews.llvm.org/D96808
Added:
Modified:
flang/lib/Semantics/check-omp-structure.cpp
Removed:
################################################################################
diff --git a/flang/lib/Semantics/check-omp-structure.cpp b/flang/lib/Semantics/check-omp-structure.cpp
index 4a9192d1926c..e31b2bfa1a73 100644
--- a/flang/lib/Semantics/check-omp-structure.cpp
+++ b/flang/lib/Semantics/check-omp-structure.cpp
@@ -667,6 +667,7 @@ CHECK_SIMPLE_CLAUSE(Release, OMPC_release)
CHECK_SIMPLE_CLAUSE(Relaxed, OMPC_relaxed)
CHECK_SIMPLE_CLAUSE(SeqCst, OMPC_seq_cst)
CHECK_SIMPLE_CLAUSE(Simd, OMPC_simd)
+CHECK_SIMPLE_CLAUSE(Sizes, OMPC_sizes)
CHECK_SIMPLE_CLAUSE(TaskReduction, OMPC_task_reduction)
CHECK_SIMPLE_CLAUSE(To, OMPC_to)
CHECK_SIMPLE_CLAUSE(UnifiedAddress, OMPC_unified_address)
More information about the flang-commits
mailing list