================
@@ -1453,9 +1451,13 @@ static void getDeclareTargetInfo(
     cp.processEnter(symbolAndClause);
     cp.processLink(symbolAndClause);
     cp.processTo(symbolAndClause);
+    cp.processIndirect(clauseOps);
 
-    cp.processTODO<clause::Indirect>(converter.getCurrentLocation(),
-                                     
llvm::omp::Directive::OMPD_declare_target);
+    // The `indirect` clause applies to the functions named by the directive
+    // (it requires an `enter` clause). Propagate the directive-level value to
----------------
blazie2004 wrote:

resolved

https://github.com/llvm/llvm-project/pull/208387
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to