[all-commits] [llvm/llvm-project] 4a94e3: [lldb][NFC] Simplify GenerateOptionUsage

David Spickett via All-commits all-commits at lists.llvm.org
Mon May 16 03:57:49 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4a94e3801dd721c0083c1259d019a1540388d9d3
      https://github.com/llvm/llvm-project/commit/4a94e3801dd721c0083c1259d019a1540388d9d3
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2022-05-16 (Mon, 16 May 2022)

  Changed paths:
    M lldb/source/Interpreter/Options.cpp

  Log Message:
  -----------
  [lldb][NFC] Simplify GenerateOptionUsage

Once we get into the if block we know the value of only_print_args.
Move some variables closer to point of use.

Depends on D125218

Reviewed By: JDevlieghere

Differential Revision: https://reviews.llvm.org/D125219




More information about the All-commits mailing list