[PATCH] D143813: [ClangFE] Check that __sync builtins are naturally aligned.

Jonas Paulsson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 14 07:00:27 PDT 2023


jonpa added a comment.

In D143813#4258744 <https://reviews.llvm.org/D143813#4258744>, @ahatanak wrote:

> In D143813#4257943 <https://reviews.llvm.org/D143813#4257943>, @jonpa wrote:
>
>> I don't understand the first argument - I thought it was supposed to be just an address...
>
> It's a statement expression. https://gcc.gnu.org/onlinedocs/gcc/Statement-Exprs.html
>
> The value of the last subexpression serves as the value of the entire construct.

Ah, ok, thanks!


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D143813/new/

https://reviews.llvm.org/D143813



More information about the cfe-commits mailing list