commit | a1d48f429b063fe6aac721383898f0c6d541b71c | [log] [tgz] |
---|---|---|
author | Haojian Wu <hokein@google.com> | Tue Sep 03 14:13:00 2019 +0000 |
committer | Haojian Wu <hokein@google.com> | Tue Sep 03 14:13:00 2019 +0000 |
tree | 4a9750a133c099873a3ca5bdf60a6c7988275045 | |
parent | 11150001bf20449e619da29d99f3f93c8cd0a2ba [diff] |
[clang-tidy] Fix a false positive in unused-using-decl check The previous matcher "hasAnyTemplateArgument(templateArgument())" only matches the first template argument, but the check wants to iterate all template arguments. This patch fixes this. Also some refactorings in this patch (to make the code reusable). git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@370760 91177308-0d34-0410-b5e6-96231b3b80d8