[clang] [NFC][analyzer] Simplify ownership of checker objects (PR #128887)

DonĂ¡t Nagy via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 26 06:58:57 PST 2025


================
@@ -185,13 +185,11 @@ class CheckerManager {
                                        StringRef OptionName,
                                        StringRef ExpectedValueDesc) const;
 
-  using CheckerRef = CheckerBase *;
   using CheckerTag = const void *;
-  using CheckerDtor = CheckerFn<void ()>;
 
-//===----------------------------------------------------------------------===//
-// Checker registration.
-//===----------------------------------------------------------------------===//
+  //===----------------------------------------------------------------------===//
+  // Checker registration.
+  //===----------------------------------------------------------------------===//
----------------
NagyDonat wrote:

This indentation was added automatically by `git-clang-format` :roll_eyes: 

There are several similar section markers in this source file -- should I indent all of them for consistency, or is there a reasonable way to silence the automatic formatting?

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


More information about the cfe-commits mailing list