[PATCH] D138312: [OPENMP5.1] Initial support for message clause.

Jennifer Yu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 18 11:15:45 PST 2022


jyu2 added inline comments.


================
Comment at: clang/lib/Sema/SemaOpenMP.cpp:11048
       SeverityClauses.empty() ? nullptr : (*SeverityClauses.begin());
+  auto MessageClauses =
+      OMPExecutableDirective::getClausesOfKind<OMPMessageClause>(Clauses);
----------------
ABataev wrote:
> Use real type instead of auto
Thanks.  How about using getSingleClause.  


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D138312/new/

https://reviews.llvm.org/D138312



More information about the cfe-commits mailing list