[all-commits] [llvm/llvm-project] 846745: Add new flag -Wreturn-mismatch (#82872)

Bhuminjay Soni via All-commits all-commits at lists.llvm.org
Mon Mar 11 10:25:54 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8467457afc61d70e881c9817ace26356ef757733
      https://github.com/llvm/llvm-project/commit/8467457afc61d70e881c9817ace26356ef757733
  Author: Bhuminjay Soni <Soni5Happy at gmail.com>
  Date:   2024-03-11 (Mon, 11 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/Misc/warning-wall.c
    A clang/test/Sema/return-type-mismatch.c

  Log Message:
  -----------
  Add new flag -Wreturn-mismatch (#82872)

This pull request fixes #72116 where a new flag is introduced for
compatibility with GCC 14, the functionality of -Wreturn-type is
modified to split some of its behaviors into -Wreturn-mismatch

Fixes #72116



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