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

Provided by KDAB

Privacy Policy
Improve your Profiling and Debugging skills
Find out more

source code of clang-tools-extra/include-cleaner/test/tool-ignores-warnings.cpp