[PATCH] D150428: [flang][openmp] Allocators construct semantic checks
Kiran Chandramohan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 1 08:38:13 PDT 2023
kiranchandramohan accepted this revision.
kiranchandramohan added a comment.
This revision is now accepted and ready to land.
LG.
================
Comment at: flang/lib/Semantics/check-omp-structure.cpp:1120-1150
+void OmpStructureChecker::Enter(const parser::OmpClause::Allocate &x) {
+ CheckAllowed(llvm::omp::Clause::OMPC_allocate);
+ if (const auto &modifier{
+ std::get<std::optional<parser::OmpAllocateClause::AllocateModifier>>(
+ x.v.t)}) {
+ common::visit(
+ common::visitors{
----------------
The RequiresPositiveParameter requires a test.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D150428/new/
https://reviews.llvm.org/D150428
More information about the llvm-commits
mailing list