================ @@ -3307,6 +3307,29 @@ void Sema::CheckShadowInheritedFields(const SourceLocation &Loc, } } +template <typename AttrType> +inline static bool HasAttribute(const QualType &T) { ---------------- erichkeane wrote:
I would say that it should, if 'i' is. I guess I'm not seeing how this is controversial, which makes me think I'm missing something though. @AaronBallman might need to be poked for this when he gets back. https://github.com/llvm/llvm-project/pull/120734 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits