[clang] [Clang][HIP][CUDA] Validate that variable type fits in address spaces (PR #178909)

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 2 00:30:10 PST 2026


================
@@ -8135,6 +8164,22 @@ ProcessDeclAttribute(Sema &S, Scope *scope, Decl *D, const ParsedAttr &AL,
   case ParsedAttr::AT_GCCStruct:
     handleGCCStructAttr(S, D, AL);
     break;
+
+  case ParsedAttr::AT_OpenCLConstantAddressSpace:
----------------
arsenm wrote:

What about general address space attribute 

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


More information about the cfe-commits mailing list