[PATCH] D60875: [OpenMP] Add checks for requires and target directives.
Gheorghe-Teodor Bercea via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 18 09:26:58 PDT 2019
gtbercea created this revision.
gtbercea added reviewers: ABataev, AlexEichenberger, caomhin.
Herald added subscribers: cfe-commits, jdoerfert, jfb, guansong.
Herald added a project: clang.
The requires directive containing target related clauses must appear before any target region in the compilation unit.
Repository:
rC Clang
https://reviews.llvm.org/D60875
Files:
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaOpenMP.cpp
test/OpenMP/requires_messages.cpp
test/OpenMP/requires_target_messages.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60875.195755.patch
Type: text/x-patch
Size: 7638 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190418/9f651bfd/attachment.bin>
More information about the cfe-commits
mailing list