- Fix a false postive when an using class is used in an explicit template instantiation.
- Fix a false postive when an using template class is used as template argument.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
test/clang-tidy/misc-unused-using-decls.cpp | ||
---|---|---|
191 ↗ | (On Diff #74139) | Can you add a test using a non-type template argument, like an integer literal? I believe that still causes the diagnostic, though do we want it to? |
Comment Actions
Add FIXME.
test/clang-tidy/misc-unused-using-decls.cpp | ||
---|---|---|
191 ↗ | (On Diff #74139) | Yeah, I agree that we need support non-type template arguments in the long term, but it seems out of scope of this patch (Supporting all non-type template arguments needs more stuff), I have added to FIXME. |
test/clang-tidy/misc-unused-using-decls.cpp | ||
---|---|---|
191 ↗ | (On Diff #74139) | Certainly; I would mostly like a test showing that we considered it and understand the current behavior. If the test has a FIXME comment with it, that's also totally fine. |