[all-commits] [llvm/llvm-project] 7f3dcc: Ensure proper NULL macro definition for system inc...

Jamie Schmeiser via All-commits all-commits at lists.llvm.org
Thu Jul 17 13:18:10 PDT 2025


  Branch: refs/heads/users/jamieschmeiser/ensure_NULL_macro
  Home:   https://github.com/llvm/llvm-project
  Commit: 7f3dccd4d8fec72677d712a429ef5468824d4839
      https://github.com/llvm/llvm-project/commit/7f3dccd4d8fec72677d712a429ef5468824d4839
  Author: Jamie Schmeiser <schmeise at ca.ibm.com>
  Date:   2025-07-17 (Thu, 17 Jul 2025)

  Changed paths:
    M clang/lib/Headers/CMakeLists.txt
    A clang/lib/Headers/dbm.h
    A clang/lib/Headers/locale.h
    A clang/lib/Headers/stdio.h
    A clang/lib/Headers/stdlib.h
    A clang/lib/Headers/string.h
    A clang/lib/Headers/sys/dir.h
    A clang/lib/Headers/sys/param.h
    A clang/lib/Headers/sys/types.h
    A clang/lib/Headers/time.h
    A clang/lib/Headers/unistd.h
    A clang/lib/Headers/wchar.h
    A clang/test/Headers/check-NULL-aix.c

  Log Message:
  -----------
  Ensure proper NULL macro definition for system include files.

The C standard allows for at least 2 valid definitions of a null pointer
constant and mandates that several standard headers files define the macro
NULL to be a null pointer constant.  Ensure that definitions of NULL are
consistent across the various C  header files.

respond to review: add in locale.h

respond to review: make all changes AIX specific



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list