[all-commits] [llvm/llvm-project] f46c44: [clang-tidy][NFC] change patterns 'anyOf(..., anyt...

Baranov Victor via All-commits all-commits at lists.llvm.org
Sat Jun 14 00:56:05 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f46c44dbc0d225277178cf5b6646a96f591fdeaa
      https://github.com/llvm/llvm-project/commit/f46c44dbc0d225277178cf5b6646a96f591fdeaa
  Author: Baranov Victor <bar.victor.2002 at gmail.com>
  Date:   2025-06-14 (Sat, 14 Jun 2025)

  Changed paths:
    M clang-tools-extra/clang-tidy/bugprone/NotNullTerminatedResultCheck.cpp
    M clang-tools-extra/clang-tidy/hicpp/ExceptionBaseclassCheck.cpp
    M clang-tools-extra/clang-tidy/misc/StaticAssertCheck.cpp
    M clang-tools-extra/clang-tidy/modernize/UseBoolLiteralsCheck.cpp
    M clang-tools-extra/clang-tidy/readability/ImplicitBoolConversionCheck.cpp

  Log Message:
  -----------
  [clang-tidy][NFC] change patterns 'anyOf(..., anything())' to 'optionally(...)' (#143558)

Writing `optionally()` instead of `anyOf(..., anything())` lowers code
size and gives the author's intention better.



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