mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-18 16:17:02 +00:00

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.
6 lines
180 B
C++
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
|