[clang] [CodeGen] Fix handling of nullptr in initializers (PR #137364)
Alexander Kornienko via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 28 03:14:06 PDT 2025
================
@@ -121,6 +121,7 @@ CAST_OPERATION(FunctionToPointerDecay)
/// CK_NullToPointer - Null pointer constant to pointer, ObjC
/// pointer, or block pointer.
/// (void*) 0
+/// (void*) nullptr
----------------
alexfh wrote:
@efriedma-quic I'll land the fix now. Please let me know, if the comment on CK_NullToPointer needs to be revised.
https://github.com/llvm/llvm-project/pull/137364
More information about the cfe-commits
mailing list