================
@@ -3355,6 +3355,15 @@ void Sema::mergeDeclAttributes(NamedDecl *New, Decl *Old,
   if (!foundAny) New->dropAttrs();
 }
 
+void Sema::CheckAttributesOnDeducedType(Decl *D) {
+  if (!D->hasAttrs())
----------------
to268 wrote:

The function is currently called in 2 separate locations, it could be worth to 
inline it if we want to avoid an extra call for a function this small.

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

Reply via email to