[all-commits] [llvm/llvm-project] 931b6d: Reenable POSIX builtin library functions in gnu2x ...

Aaron Ballman via All-commits all-commits at lists.llvm.org
Thu Nov 10 16:55:56 PST 2022


  Branch: refs/heads/release/15.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 931b6d51d84e2a5cbbdc925d546819d4d3b7c63e
      https://github.com/llvm/llvm-project/commit/931b6d51d84e2a5cbbdc925d546819d4d3b7c63e
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2022-11-10 (Thu, 10 Nov 2022)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaLookup.cpp
    A clang/test/Sema/gnu-builtins.c

  Log Message:
  -----------
  Reenable POSIX builtin library functions in gnu2x mode

gnu17 and earlier modes automatically expose several POSIX C APIs, and
this was accidentally disabled for gnu2x in
7d644e1215b376ec5e915df9ea2eeb56e2d94626.

This restores the behavior for gnu2x mode (without changing the
behavior in C standards modes instead of GNU modes).

Fixes #56607




More information about the All-commits mailing list