[clang-tidy] Ignore template instantiations in modernize-use-using
authorAlexander Kornienko <alexfh@google.com>
Thu, 22 Nov 2018 16:10:18 +0000 (16:10 +0000)
committerAlexander Kornienko <alexfh@google.com>
Thu, 22 Nov 2018 16:10:18 +0000 (16:10 +0000)
commitb34b6ffa9d4aae16272cbdbf508134f98b4647d4
tree86a9d6ce615ed490c0ab8320e0a7ba477ea4422c
parent840f03263072db90a20f636ab286b21523331ec6
[clang-tidy] Ignore template instantiations in modernize-use-using

The test I'm adding passes without the change due to the deduplication logic in
ClangTidyDiagnosticConsumer::take(). However this bug manifests in our internal
integration with clang-tidy.
I've verified the fix by locally changing LessClangTidyError to consider
replacements.

llvm-svn: 347470
clang-tools-extra/clang-tidy/modernize/UseUsingCheck.cpp
clang-tools-extra/test/clang-tidy/modernize-use-using.cpp