[flang-commits] [flang] [llvm] [clang] [flang][OpenMP] Add semantic check for declare target (PR #72770)
Sergio Afonso via flang-commits
flang-commits at lists.llvm.org
Mon Nov 20 03:15:23 PST 2023
================
@@ -1851,6 +1853,18 @@ bool ClauseProcessor::processTo(
});
}
+bool ClauseProcessor::processEnter(
+ llvm::SmallVectorImpl<DeclareTargetCapturePair> &result) const {
+ return findRepeatableClause<ClauseTy::Enter>(
+ [&](const ClauseTy::Enter *enterClause,
+ const Fortran::parser::CharBlock &) {
+ // Case: declare target to(func, var1, var2)...
----------------
skatrak wrote:
Nit: Update comment
https://github.com/llvm/llvm-project/pull/72770
More information about the flang-commits
mailing list