[clang] [Sema] Propagate preferred_name attribute to existing specializations (PR #186741)
Younan Zhang via cfe-commits
cfe-commits at lists.llvm.org
Fri Mar 20 03:30:50 PDT 2026
================
@@ -1209,7 +1209,6 @@ static void handlePreferredName(Sema &S, Decl *D, const ParsedAttr &AL) {
TSI = S.Context.getTrivialTypeSourceInfo(T, AL.getLoc());
if (!T.hasQualifiers() && T->isTypedefNameType()) {
- // Find the template name, if this type names a template specialization.
----------------
zyn0217 wrote:
Why do you remove this line?
https://github.com/llvm/llvm-project/pull/186741
More information about the cfe-commits
mailing list