[clang] [CodeGen] Fix handling of nullptr in initializers (PR #137364)

Alexander Kornienko via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 28 14:46:23 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:

Sure. Done in b509f7cca58c8db060eebea6fb5b28c3d0b3727b.

https://github.com/llvm/llvm-project/pull/137364


More information about the cfe-commits mailing list