[all-commits] [llvm/llvm-project] ef8786: Silence -Wstrict-prototype diagnostics in C2x mode

Aaron Ballman via All-commits all-commits at lists.llvm.org
Fri Apr 29 10:37:48 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ef87865b98fa25af1d2c045bab1268b2a1503374
      https://github.com/llvm/llvm-project/commit/ef87865b98fa25af1d2c045bab1268b2a1503374
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2022-04-29 (Fri, 29 Apr 2022)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaType.cpp
    A clang/test/Sema/c2x-warn-strict-prototypes.c

  Log Message:
  -----------
  Silence -Wstrict-prototype diagnostics in C2x mode

This also disables the diagnostic when the user passes -fno-knr-functions.




More information about the All-commits mailing list