[clang] Initial implementation of P2719 (PR #113510)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 25 09:54:55 PDT 2024


================
@@ -2474,19 +2474,46 @@ bool CXXMethodDecl::isUsualDeallocationFunction(
       getOverloadedOperator() != OO_Array_Delete)
     return false;
 
+  auto NumParams = getNumParams();
----------------
erichkeane wrote:

Don't use auto here, only when the type is on the RHS per coding standard.

https://github.com/llvm/llvm-project/pull/113510


More information about the cfe-commits mailing list