[clang-tidy] Fix an unused-using-decl false positive about template arguments in
authorHaojian Wu <hokein@google.com>
Tue, 2 Aug 2016 11:26:35 +0000 (11:26 +0000)
committerHaojian Wu <hokein@google.com>
Tue, 2 Aug 2016 11:26:35 +0000 (11:26 +0000)
commitda2a58dd0b261d6af2ecca61f549ab2bd8135ec6
tree9a2f1bb9067241648e3642af0128bb096d7ab97c
parent00adc413702e0c7f1fef76ae2e3653b2c2b95b9c
[clang-tidy] Fix an unused-using-decl false positive about template arguments in
function call expression.

Summary:
The check doesn't mark the template argument as used when the template
argument is a template.

Reviewers: djasper, alexfh

Subscribers: klimek, cfe-commits

Differential Revision: https://reviews.llvm.org/D22803

llvm-svn: 277444
clang-tools-extra/clang-tidy/misc/UnusedUsingDeclsCheck.cpp
clang-tools-extra/test/clang-tidy/Inputs/unused-using-decls.h [new file with mode: 0644]
clang-tools-extra/test/clang-tidy/misc-unused-using-decls.cpp