[PATCH] D148730: [C11] Allow initialization of an atomic-qualified pointer from a null pointer constant

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 19 11:01:26 PDT 2023


aaron.ballman updated this revision to Diff 515022.
aaron.ballman added a comment.

Added a `-pedantic` run line and used `(void *)0` as a null pointer constant for the last test.


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

https://reviews.llvm.org/D148730

Files:
  clang/docs/ReleaseNotes.rst
  clang/lib/AST/Expr.cpp
  clang/lib/Sema/SemaExpr.cpp
  clang/test/Sema/atomic-expr.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148730.515022.patch
Type: text/x-patch
Size: 10034 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230419/ed923541/attachment.bin>


More information about the cfe-commits mailing list