[clang] [OpenACC] Implement beginning parts of the 'parallel' Sema impl (PR #81659)
Alexey Bataev via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 15 06:52:59 PST 2024
================
@@ -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);
+}
----------------
alexey-bataev wrote:
I don't like this approach, better to set structured block upon OpenACCComputeConstruct construction, if possible.
https://github.com/llvm/llvm-project/pull/81659
More information about the cfe-commits
mailing list