The check doesn't mark the template argument as used when the template
argument is a template.
Details
Details
- Reviewers
djasper alexfh - Commits
- rGda2a58dd0b26: [clang-tidy] Fix an unused-using-decl false positive about template arguments…
rCTE277444: [clang-tidy] Fix an unused-using-decl false positive about template arguments in
rL277444: [clang-tidy] Fix an unused-using-decl false positive about template arguments in
Diff Detail
Diff Detail
Event Timeline
clang-tidy/misc/UnusedUsingDeclsCheck.cpp | ||
---|---|---|
84–87 | I thought the idea was to make an overload for hasTemplateArgument to work on FunctionDecl. Any specific reason not to make the matchers better? |
Comment Actions
Use new ast matchers to simplify the code.
Updating D22803: [clang-tidy] Fix an unused-using-decl false positive about template arguments in
function call expression.
I thought the idea was to make an overload for hasTemplateArgument to work on FunctionDecl. Any specific reason not to make the matchers better?