[llvm] [NFC][profdata] Apply lints and other format fixes (PR #149433)

Mingming Liu via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 18 12:33:32 PDT 2025


================
@@ -54,23 +53,23 @@ using ProfCorrelatorKind = InstrProfCorrelator::ProfCorrelatorKind;
 
 // https://llvm.org/docs/CommandGuide/llvm-profdata.html has documentations
 // on each subcommand.
-cl::SubCommand ShowSubcommand(
+static cl::SubCommand ShowSubcommand(
----------------
mingmingl-llvm wrote:

Curiously, is this `static` keyword suggested by lint/format tools ? Ask mainly because I don't anticipate 'clang-format' to do this, and curious if there are other ways (e.g. copilot or other coding agents)  to apply lint/format changes nowadays.

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


More information about the llvm-commits mailing list