[clang] [Clang] Add [[clang::no_specializations]] (PR #101469)

Nikolas Klauser via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 12 11:11:45 PST 2024


philnik777 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.

Ah, yes, I meant "I only added function templates in addition to class and variable templates (which was the original set)".


https://github.com/llvm/llvm-project/pull/101469


More information about the cfe-commits mailing list