[all-commits] [llvm/llvm-project] 5b7bb5: [libc++] Clang-tidy enable modernize-use-nullptr.

Mark de Wever via All-commits all-commits at lists.llvm.org
Sun Jan 21 04:08:45 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5b7bb56a053702f7ed486aba1427454ec222bb36
      https://github.com/llvm/llvm-project/commit/5b7bb56a053702f7ed486aba1427454ec222bb36
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2024-01-21 (Sun, 21 Jan 2024)

  Changed paths:
    M libcxx/.clang-tidy
    M libcxx/include/__atomic/is_always_lock_free.h
    M libcxx/include/__iterator/iterator_traits.h
    M libcxx/include/locale

  Log Message:
  -----------
  [libc++] Clang-tidy enable modernize-use-nullptr.

Clang-tidy 18 no longer has false positives with the spaceship operator.
Note that I'm quite sure there are more occurrences in our headers that
are not caught.

This relands https://github.com/llvm/llvm-project/pull/76659 with fixes
tested in https://github.com/llvm/llvm-project/pull/78746.




More information about the All-commits mailing list