[clang] [CIR] Upstream `AddressSpace` support for `PointerType` (PR #161028)
Andy Kaylor via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 1 15:14:27 PDT 2025
================
@@ -601,6 +601,28 @@ def CIR_VTableAttr : CIR_Attr<"VTable", "vtable", [TypedAttrInterface]> {
}];
}
+//===----------------------------------------------------------------------===//
+// TargetAddressSpaceAttr
+//===----------------------------------------------------------------------===//
+
+def CIR_TargetAddressSpaceAttr : CIR_Attr< "TargetAddressSpace",
+ "target_address_space"> {
+ let summary = "Attribute representing a target-specific numeric address space";
----------------
andykaylor wrote:
```suggestion
let summary = "Represents a target-specific numeric address space";
```
This is to get the summary to fit in 80 columns as much as anything, but the use of "attribute" in the summary is redundant.
https://github.com/llvm/llvm-project/pull/161028
More information about the cfe-commits
mailing list