[PATCH] D148800: [C2x] Update 'nullptr' implementation based on CD comments

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 3 09:12:18 PDT 2023


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

Updated based on review feedback:

- Changed CK_Noop to CK_NullToPointer to model the same as in C++
- Added codegen tests
- Added a constant expression test
- Fixed some comments in the test file


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

https://reviews.llvm.org/D148800

Files:
  clang/docs/ReleaseNotes.rst
  clang/lib/Sema/SemaExpr.cpp
  clang/test/C/C2x/n3042.c
  clang/test/CodeGen/nullptr.c
  clang/test/Sema/nullptr.c
  clang/www/c_status.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148800.519102.patch
Type: text/x-patch
Size: 12604 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230503/f3fdb586/attachment-0001.bin>


More information about the cfe-commits mailing list