[clang] [clang][AMDGPU] Clean-up handling of named barrier type (PR #207687)

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 6 03:30:40 PDT 2026


================
@@ -6171,6 +6171,12 @@ LangAS CodeGenModule::GetGlobalVarAddressSpace(const VarDecl *D) {
 
   if (LangOpts.CUDA && LangOpts.CUDAIsDevice) {
     if (D) {
+      // TOOD: Forbid type on struct fields
----------------
arsenm wrote:

The title says it is forbidden?

https://github.com/llvm/llvm-project/pull/207687


More information about the cfe-commits mailing list