[clang] [clang] Implement constexpr evaluation for `__builtin_{add,sub}c` (PR #66005)

2024-04-26 Thread Daniel Bertalan via cfe-commits
BertalanD wrote: Obsoleted by #81656 https://github.com/llvm/llvm-project/pull/66005 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Implement constexpr evaluation for `__builtin_{add,sub}c` (PR #66005)

2024-04-26 Thread Daniel Bertalan via cfe-commits
https://github.com/BertalanD closed https://github.com/llvm/llvm-project/pull/66005 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [ObjC] Fix offsets following `[[no_unique_address]]` for `@encode()` (PR #71321)

2023-11-06 Thread Daniel Bertalan via cfe-commits
https://github.com/BertalanD closed https://github.com/llvm/llvm-project/pull/71321 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [ObjC] Fix offsets following `[[no_unique_address]]` for `@encode()` (PR #71321)

2023-11-05 Thread Daniel Bertalan via cfe-commits
https://github.com/BertalanD unassigned https://github.com/llvm/llvm-project/pull/71321 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [ObjC] Fix offsets following `[[no_unique_address]]` for `@encode()` (PR #71321)

2023-11-05 Thread Daniel Bertalan via cfe-commits
https://github.com/BertalanD unassigned https://github.com/llvm/llvm-project/pull/71321 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [ObjC] Fix offsets following `[[no_unique_address]]` for `@encode()` (PR #71321)

2023-11-05 Thread Daniel Bertalan via cfe-commits
https://github.com/BertalanD created https://github.com/llvm/llvm-project/pull/71321 Commit 46ca880fca made `@encode` skip fields that are made zero-sized by `[[no_unique_address]]`. When iterating the fields, the index which is passed to `getFieldOffset` failed to be incremented for those due

[clang] [clang] Implement constexpr evaluation for `__builtin_{add,sub}c` (PR #66005)

2023-09-11 Thread Daniel Bertalan via cfe-commits
https://github.com/BertalanD updated https://github.com/llvm/llvm-project/pull/66005: >From 1a1f9ce09efb51a26440f378334df97ec014cad5 Mon Sep 17 00:00:00 2001 From: Daniel Bertalan Date: Sat, 22 Jul 2023 08:20:45 +0200 Subject: [PATCH] [clang] Implement constexpr evaluation for `__builtin_{add,

[clang] [clang] Implement constexpr evaluation for `__builtin_{add,sub}c` (PR #66005)

2023-09-11 Thread Daniel Bertalan via cfe-commits
https://github.com/BertalanD review_requested https://github.com/llvm/llvm-project/pull/66005 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Implement constexpr evaluation for `__builtin_{add,sub}c` (PR #66005)

2023-09-11 Thread Daniel Bertalan via cfe-commits
https://github.com/BertalanD created https://github.com/llvm/llvm-project/pull/66005: GCC has gained support for these multiprecision arithmetic builtins in `r14-1896-g2b4e0415ad6`, and although they aren't explicitly specified as such in the documentation, they are usable in a constexpr conte