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

Aaron Ballman via All-commits all-commits at lists.llvm.org
Wed Nov 2 05:00:42 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d7d743621a0d5d13ed54d358944857ccba598299
      https://github.com/llvm/llvm-project/commit/d7d743621a0d5d13ed54d358944857ccba598299
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2022-11-02 (Wed, 02 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