[all-commits] [llvm/llvm-project] c8b7ec: Define a diagnostic group for missing variadic mac...

Akira Hatanaka via All-commits all-commits at lists.llvm.org
Tue Dec 3 15:18:00 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c8b7ec2edd8d84729070e455002d1e78bdceddc5
      https://github.com/llvm/llvm-project/commit/c8b7ec2edd8d84729070e455002d1e78bdceddc5
  Author: Akira Hatanaka <ahatanak at gmail.com>
  Date:   2024-12-03 (Tue, 03 Dec 2024)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticGroups.td
    M clang/include/clang/Basic/DiagnosticLexKinds.td
    M clang/test/Lexer/gnu-flags.c
    M clang/test/Preprocessor/macro_fn.c

  Log Message:
  -----------
  Define a diagnostic group for missing variadic macro arguments (#116855)

Make the new diagnostic group a subgroup of the following diagnostic
groups:

-Wpre-c23-compat
-Wgnu-zero-variadic-macro-arguments
-Wc++20-extensions
-Wc23-extensions

This change is needed as 5231005193afb8db01afe9a8a1aa308d25f60ba1 made
it impossible to use -Wno-gnu-zero-variadic-macro-argumentsis to silence
the warning.

rdar://139234984



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