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

Alexander Kornienko via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 25 11:59:07 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:

Okay, hopefully, I got it right this time.

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


More information about the cfe-commits mailing list