[all-commits] [llvm/llvm-project] bbf190: [clang][Headers] Avoid compiler warnings in builti...

Dominic Chen via All-commits all-commits at lists.llvm.org
Wed Aug 3 17:56:30 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bbf19005714b2f6f957cac25e44d381167843732
      https://github.com/llvm/llvm-project/commit/bbf19005714b2f6f957cac25e44d381167843732
  Author: Dominic Chen <ddchen at apple.com>
  Date:   2022-08-03 (Wed, 03 Aug 2022)

  Changed paths:
    M clang/lib/Headers/float.h
    M clang/lib/Headers/limits.h
    M clang/lib/Headers/stdarg.h
    M clang/lib/Headers/stdatomic.h
    M clang/lib/Headers/stdbool.h
    M clang/lib/Headers/stddef.h
    M clang/lib/Headers/stdint.h
    M clang/lib/Headers/stdnoreturn.h
    M clang/lib/Headers/velintrin.h

  Log Message:
  -----------
  [clang][Headers] Avoid compiler warnings in builtin headers

While debugging module support using -Wsystem-headers, we discovered that if
-Werror, and -Wundef or -Wmacro-redefined are specified, they can cause errors
to be generated in these builtin headers.

Differential Revision: https://reviews.llvm.org/D130800




More information about the All-commits mailing list