[all-commits] [llvm/llvm-project] feb787: [APINotes] Avoid duplicated attributes for class t...
Egor Zhdan via All-commits
all-commits at lists.llvm.org
Wed Jan 15 10:50:45 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: feb787244e54fe5abe5a96fefc4c74019f21a0ff
https://github.com/llvm/llvm-project/commit/feb787244e54fe5abe5a96fefc4c74019f21a0ff
Author: Egor Zhdan <e_zhdan at apple.com>
Date: 2025-01-15 (Wed, 15 Jan 2025)
Changed paths:
M clang/lib/Sema/SemaTemplate.cpp
M clang/test/APINotes/Inputs/Headers/Templates.h
M clang/test/APINotes/templates.cpp
Log Message:
-----------
[APINotes] Avoid duplicated attributes for class template instantiations
If a C++ class template is annotated via API Notes, the instantiations
had the attributes repeated twice. This is because Clang was adding the
attribute twice while processing the same class template. This change
makes sure we don't try to add attributes from API Notes twice.
There is currently no way to annotate specific instantiations using API
Notes.
rdar://142539959
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list