[clang] [Clang] Overflow Pattern Exclusions (PR #100272)

Bill Wendling via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 9 18:03:43 PDT 2024


================
@@ -4759,6 +4759,55 @@ ParenListExpr *ParenListExpr::CreateEmpty(const ASTContext &Ctx,
   return new (Mem) ParenListExpr(EmptyShell(), NumExprs);
 }
 
+namespace {
----------------
bwendling wrote:

You don't need both an anonymous namespace and marking the function 'static'. I think the standard is to prefer static functions in this case.

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


More information about the cfe-commits mailing list