[clang] [Clang] Add [[clang::no_specializations]] (PR #101469)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 12 11:08:41 PST 2024
AaronBallman wrote:
> I went for only adding `[[clang::no_specialization]]` to function templates, since the other cases seem even more unlikely to me and seem to have a higher implementation complexity. Is that OK?
Your test coverage also handles class templates and variable templates in addition to function templates, which I think covers the most common cases and is fine.
https://github.com/llvm/llvm-project/pull/101469
More information about the cfe-commits
mailing list