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

Jamie Schmeiser via All-commits all-commits at lists.llvm.org
Wed Jul 16 13:11:21 PDT 2025


  Branch: refs/heads/users/jamieschmeiser/ensure_NULL_macro
  Home:   https://github.com/llvm/llvm-project
  Commit: de5058054d3dd7deaaf218b6b354f79dbeaf29d6
      https://github.com/llvm/llvm-project/commit/de5058054d3dd7deaaf218b6b354f79dbeaf29d6
  Author: Jamie Schmeiser <schmeise at ca.ibm.com>
  Date:   2025-07-16 (Wed, 16 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.



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