[clang] [llvm] [clang][aarch64] Add support for the MSVC qualifiers __ptr32, __ptr64, __sptr, __uptr for AArch64 (PR #111879)

Daniel Paoliello via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 10 11:52:53 PDT 2024


================
@@ -32,6 +58,8 @@ class LLVM_LIBRARY_VISIBILITY AArch64TargetInfo : public TargetInfo {
     SveMode = (1 << 2),
   };
 
+  enum AddrSpace { ptr32_sptr = 270, ptr32_uptr = 271, ptr64 = 272 };
----------------
dpaoliello wrote:

Definitely prefer that - this whole thing has **way** too many magic numbers for my liking...

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


More information about the cfe-commits mailing list