[all-commits] [llvm/llvm-project] 09bf95: Lint: Replace -lint-abort-on-error cl::opt with pa...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue Mar 25 06:35:34 PDT 2025


  Branch: refs/heads/users/arsenm/lint/replace-cl-opt-with-pass-param
  Home:   https://github.com/llvm/llvm-project
  Commit: 09bf956c7ad9fc90da375803820b8f9258a01b9b
      https://github.com/llvm/llvm-project/commit/09bf956c7ad9fc90da375803820b8f9258a01b9b
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-03-25 (Tue, 25 Mar 2025)

  Changed paths:
    M llvm/include/llvm/Analysis/Lint.h
    M llvm/lib/Analysis/Lint.cpp
    M llvm/lib/Passes/PassBuilder.cpp
    M llvm/lib/Passes/PassRegistry.def
    M llvm/test/Analysis/Lint/abort-on-error.ll
    M llvm/test/Analysis/Lint/const-store.ll

  Log Message:
  -----------
  Lint: Replace -lint-abort-on-error cl::opt with pass parameter

Replace -lint-abort-on-error with -passes='lint<abort-on-error>'.
Also change error message to start with lowercase.

Printing to dbgs() in the run is also suspect, should probably be
moved to a print method on an analysis pass.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list