[clang] [Clang] handle [[warn_unused]] attribute for unused private fields (PR #120734)
Oleksandr T. via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 16 15:07:16 PST 2025
================
@@ -3307,6 +3307,29 @@ void Sema::CheckShadowInheritedFields(const SourceLocation &Loc,
}
}
+template <typename AttrType>
+inline static bool HasAttribute(const QualType &T) {
----------------
a-tarasyuk wrote:
@AaronBallman could you take a look at this issue? thanks
https://github.com/llvm/llvm-project/pull/120734
More information about the cfe-commits
mailing list