Warning: That file was not part of the compilation database. It may have many parsing errors.

1// RUN: %check_clang_tidy %s misc-unused-using-decls %t
2
3// Verify that we don't generate the warnings on header files.
4namespace foo { class Foo {}; }
5
6using foo::Foo;
7

Warning: That file was not part of the compilation database. It may have many parsing errors.

source code of clang-tools-extra/test/clang-tidy/checkers/misc/unused-using-decls.hpp