[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 10:55:58 PDT 2023


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

Added an additional test case (assignment of a null pointer constant to an atomic function pointer) that was mentioned in a comment on the original bug report.


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.515021.patch
Type: text/x-patch
Size: 9916 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230419/65206af0/attachment-0001.bin>


More information about the cfe-commits mailing list