================
@@ -13662,3 +13663,8 @@ StringRef ASTContext::getCUIDHash() const {
   CUIDHash = llvm::utohexstr(llvm::MD5Hash(LangOpts.CUID), /*LowerCase=*/true);
   return CUIDHash;
 }
+
+void ASTContext::setOpenACCStructuredBlock(OpenACCComputeConstruct *C,
+                                           Stmt *S) {
+  C->setStructuredBlock(S);
+}
----------------
erichkeane wrote:

So my concern with that, is it requires delaying the construction of the 
Compute Construct until after we've parsed the Structured Block, which I 
thought it would be useful to be able to refer to when enforcing other rules.  
I'll work through to do it this patch, but we might have ourselves needing to 
bring this back in the future.

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

Reply via email to