================
@@ -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: rename to `ToDecl` to match LLVM naming rules.

I'd also just call them `To` and `From`, the types are spelled out explicitly 
anyway, `Decl` suffix seems redundant. But up to you.

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

Reply via email to