Add misc-unused-alias-decls check that currently finds unused namespace
authorDaniel Jasper <djasper@google.com>
Fri, 31 Jul 2015 16:08:10 +0000 (16:08 +0000)
committerDaniel Jasper <djasper@google.com>
Fri, 31 Jul 2015 16:08:10 +0000 (16:08 +0000)
commitbb42b030219710676ecb224bd3748641ff828c86
tree8f40c2ab37d8680540b7ac9d0ec59b1aede23c6a
parent8a7ef3b2eec5e6046a3aab36521813c8ea6093e0
Add misc-unused-alias-decls check that currently finds unused namespace
alias declarations. In the future, we might want to reuse it to also
fine unsed using declarations and such.

llvm-svn: 243754
clang-tools-extra/clang-tidy/misc/CMakeLists.txt
clang-tools-extra/clang-tidy/misc/MiscTidyModule.cpp
clang-tools-extra/clang-tidy/misc/UnusedAliasDeclsCheck.cpp [new file with mode: 0644]
clang-tools-extra/clang-tidy/misc/UnusedAliasDeclsCheck.h [new file with mode: 0644]
clang-tools-extra/test/clang-tidy/misc-unused-alias-decls.cpp [new file with mode: 0644]