kadir çetinkaya bb5e66e31b
[include-cleaner] Suppress all clang warnings (#109099)
This patch disables all clang warnings when running include-cleaner, as
users aren't interested in other findings and in-development code might
have them temporarily. This ensures tool can keep working even in
presence of such issues.
2024-09-19 11:16:49 +02:00

6 lines
180 B
C++

// RUN: clang-include-cleaner %s -- -Wunused 2>&1 | FileCheck --allow-empty %s
static void foo() {}
// Make sure that we don't get an unused warning
// CHECK-NOT: unused function