================ @@ -3227,6 +3227,41 @@ void Sema::mergeDeclAttributes(NamedDecl *New, Decl *Old, if (!foundAny) New->dropAttrs(); } +template <class T> +static unsigned propagateAttribute(ParmVarDecl *toDecl, ---------------- ilya-biryukov wrote:
NIT: maybe document that it returns a number of added attributes? https://github.com/llvm/llvm-project/pull/107627 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits