[all-commits] [llvm/llvm-project] 999d4f: Split -Wcast-function-type into a separate group (...

Aaron Ballman via All-commits all-commits at lists.llvm.org
Thu Mar 21 11:19:05 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 999d4f840777bf8de26d45947192aa0728edc0fb
      https://github.com/llvm/llvm-project/commit/999d4f840777bf8de26d45947192aa0728edc0fb
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2024-03-21 (Thu, 21 Mar 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/DiagnosticGroups.td
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/test/Sema/warn-cast-function-type-strict.c
    M clang/test/SemaCXX/warn-cast-function-type-strict.cpp

  Log Message:
  -----------
  Split -Wcast-function-type into a separate group (#86131)

We want to add -Wcast-function-type to -Wextra (as done in
1de7e6c8cba27296f3fc16d107822ea0ee856759), but we do not want to add
-Wcast-function-type-strict in at the same time
(https://lab.llvm.org/buildbot/#/builders/57/builds/33601/steps/5/logs/stdio).

This moves the existing warning to a new group
(-Wcast-function-type-mismatch), puts the new group under the existing
-Wcast-function-type warning group, and adds
-Wcast-function-type-mismatch to -Wextra.



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