[clang] [APINotes] Avoid duplicate attributes when fields instantiate class templates (PR #173386)
Susana Monteiro via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 23 08:55:59 PST 2025
================
@@ -8,3 +8,17 @@ struct Box {
using FloatBox = Box<float>;
using IntBox = Box<int>;
+
+template <typename T>
+struct MoveOnly {
+ T value;
+};
+
+template <>
+struct MoveOnly<float> {
----------------
susmonteiro wrote:
Ah yes, sure!
https://github.com/llvm/llvm-project/pull/173386
More information about the cfe-commits
mailing list