[clang] [API Notes] Attach API notes to forward declarations of tags (PR #149951)
Gábor Horváth via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 22 02:55:48 PDT 2025
================
@@ -23,3 +23,8 @@ struct EscapableType { int value; };
struct RefCountedTypeWithDefaultConvention {};
inline void retain(RefCountedType *x) {}
inline void release(RefCountedType *x) {}
+
+struct OpaqueRefCountedType;
----------------
Xazax-hun wrote:
Could we add multiple forward declarations to make sure we do not duplicate the notes?
https://github.com/llvm/llvm-project/pull/149951
More information about the cfe-commits
mailing list