================
@@ -760,6 +760,9 @@ void clang::getOpenMPCaptureRegions(
     case OMPD_parallel:
       CaptureRegions.push_back(OMPD_parallel);
       break;
+    case OMPD_assume:
+      CaptureRegions.push_back(OMPD_unknown);
+      break;
----------------
kparzysz wrote:
This is what happens with the directives at lines 790+ (before these changes).  
We don't want to be adding OMPD_unknown as we go, because it can end up 
intermingled with other directives (in case of combined directives).  I 
understand that OMPD_assumes may be standalone, but we should treat it the same 
as the combinable ones for consistency.

https://github.com/llvm/llvm-project/pull/97535
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to