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

Jamie Schmeiser via All-commits all-commits at lists.llvm.org
Thu Jul 17 06:44:47 PDT 2025


  Branch: refs/heads/users/jamieschmeiser/ensure_NULL_macro
  Home:   https://github.com/llvm/llvm-project
  Commit: e50062b48a09bd6e077b86bdeed65c7c1abb2ebe
      https://github.com/llvm/llvm-project/commit/e50062b48a09bd6e077b86bdeed65c7c1abb2ebe
  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
    A clang/test/Headers/check-NULL.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



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