================
@@ -2671,6 +2656,21 @@ void OmpStructureChecker::Leave(const
parser::OmpDeclareTargetDirective &x) {
context_.Warn(common::UsageWarning::OpenMPUsage, toClause->source,
"The usage of TO clause on DECLARE TARGET directive has been
deprecated. Use ENTER clause instead."_warn_en_US);
}
+ if (indirectClause) {
----------------
blazie2004 wrote:
The restriction only applies when the argument is true. The value is now
evaluated before applying the DEVICE_TYPE check, so that case is accepted.
Added to indirect03.f90.
https://github.com/llvm/llvm-project/pull/208387
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits