================
@@ -273,6 +286,153 @@ bool Sema::CheckCountedByAttrOnField(FieldDecl *FD, Expr 
*E, bool CountInBytes,
   return false;
 }
 
+bool Sema::CheckCountedByAttrOnParam(QualType ParamTy, Expr *E,
----------------
Holo-xy wrote:

I moved the checks they have in common into one shared helper for both.

https://github.com/llvm/llvm-project/pull/230538
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to