[libc-commits] [libc] [libc] assert.h modifications for newhdrgen (PR #98092)

Michael Jones via libc-commits libc-commits at lists.llvm.org
Mon Jul 8 16:03:27 PDT 2024


================
@@ -12,4 +12,21 @@
 // This file may be usefully included multiple times to change assert()'s
 // definition based on NDEBUG.
 
+#ifndef __cplusplus
----------------
michaelrj-google wrote:

if you're adding this here it needs to be removed from the `api.td` files it's in (specifically baremetal, linux, and GPU).

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


More information about the libc-commits mailing list