[all-commits] [llvm/llvm-project] c0e415: Fix clang-tidy bugprone-argument-comment that was ...

Shafik Yaghmour via All-commits all-commits at lists.llvm.org
Tue Jan 11 11:12:45 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c0e415471136a16cc98c9ce57392efd62db51c1f
      https://github.com/llvm/llvm-project/commit/c0e415471136a16cc98c9ce57392efd62db51c1f
  Author: Shafik Yaghmour <syaghmour at apple.com>
  Date:   2022-01-11 (Tue, 11 Jan 2022)

  Changed paths:
    M lldb/source/Target/TraceInstructionDumper.cpp

  Log Message:
  -----------
  Fix clang-tidy bugprone-argument-comment that was mixed up

Several of the comments were annotating the wrong argument.

I caught this while reviewing this clean-up: https://github.com/llvm/llvm-project/commit/8afcfbfb8fc1e53023ffac9d9bdc424248d6d2ff

which was changing booleans to use true and false and in the this case the comment and the type looked mismatched.

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




More information about the All-commits mailing list