[all-commits] [llvm/llvm-project] 3b5a12: [clang-tidy][NFC] replace comparison of begin and ...

Julian Schmidt via All-commits all-commits at lists.llvm.org
Wed May 15 05:35:29 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3b5a121a2478e586f59e3277d04d17fb63be5d76
      https://github.com/llvm/llvm-project/commit/3b5a121a2478e586f59e3277d04d17fb63be5d76
  Author: Julian Schmidt <git.julian.schmidt at gmail.com>
  Date:   2024-05-15 (Wed, 15 May 2024)

  Changed paths:
    M clang-tools-extra/clang-tidy/bugprone/SuspiciousEnumUsageCheck.cpp
    M clang-tools-extra/clang-tidy/cppcoreguidelines/MisleadingCaptureDefaultByValueCheck.cpp
    M clang-tools-extra/clang-tidy/misc/UnusedParametersCheck.cpp
    M clang-tools-extra/clang-tidy/modernize/UseConstraintsCheck.cpp

  Log Message:
  -----------
  [clang-tidy][NFC] replace comparison of begin and end iterators with range empty (#91994)

Improves readability by changing comparisons of `*_begin` and `*_end`
iterators into `.empty()` on their range.



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