[all-commits] [llvm/llvm-project] ce33a4: [libc] Keep headers compatible with -std=c89 mode ...

Roland McGrath via All-commits all-commits at lists.llvm.org
Tue Jan 7 12:13:45 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ce33a48efdd61435e026733315f1ac960774c254
      https://github.com/llvm/llvm-project/commit/ce33a48efdd61435e026733315f1ac960774c254
  Author: Roland McGrath <mcgrathr at google.com>
  Date:   2025-01-07 (Tue, 07 Jan 2025)

  Changed paths:
    M libc/include/__llvm-libc-common.h

  Log Message:
  -----------
  [libc] Keep headers compatible with -std=c89 mode (#121981)

C89 doesn't have the `restrict` keyword.  When in `-std=c89`
mode, GNU-compatible compilers require the `__restrict` spelling.



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