This revision was automatically updated to reflect the committed changes. Closed by commit rG666098c5b3ea: [Headers] Remove musl-related comment about NULL (authored by aheejin).
Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D159383/new/ https://reviews.llvm.org/D159383 Files: clang/lib/Headers/__stddef_null.h Index: clang/lib/Headers/__stddef_null.h =================================================================== --- clang/lib/Headers/__stddef_null.h +++ clang/lib/Headers/__stddef_null.h @@ -15,9 +15,5 @@ #define NULL 0 #endif #else -// Don't add any whitespaces in ((void*)0) below! -// musl (https://www.musl-libc.org/) redefines `NULL` as such and redefinition -// with a different expression, even in terms of a single whitespace, causes a -// warning. #define NULL ((void*)0) #endif
Index: clang/lib/Headers/__stddef_null.h =================================================================== --- clang/lib/Headers/__stddef_null.h +++ clang/lib/Headers/__stddef_null.h @@ -15,9 +15,5 @@ #define NULL 0 #endif #else -// Don't add any whitespaces in ((void*)0) below! -// musl (https://www.musl-libc.org/) redefines `NULL` as such and redefinition -// with a different expression, even in terms of a single whitespace, causes a -// warning. #define NULL ((void*)0) #endif
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits