[clang] Carving out -Wformat warning about scoped enums into a subwarning (PR #88595)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 17 10:21:04 PDT 2024
================
@@ -1,5 +1,6 @@
// RUN: %clang_cc1 -fsyntax-only -verify -Wformat %s
-// RUN: %clang_cc1 -fsyntax-only -fdiagnostics-parseable-fixits -Wformat %s 2>&1 | FileCheck %s
+// RUN: %clang_cc1 -fsyntax-only -fdiagnostics-parseable-fixits -Wformat-pedantic %s 2>&1 | FileCheck %s
----------------
pirama-arumuga-nainar wrote:
With the RUN: line including `-Wformat-pedantic`, do we need the rest of the changes (adding `expected-no-diagnostics` and the removal of `expected-warning`s)?
https://github.com/llvm/llvm-project/pull/88595
More information about the cfe-commits
mailing list