[all-commits] [llvm/llvm-project] 01c115: [clang-tidy] Add IgnoreTypes option to modernize-u...

Piotr Zegar via All-commits all-commits at lists.llvm.org
Sun Sep 10 05:52:14 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 01c11569fc67b2a00403f64695fff6d2b4e78fe5
      https://github.com/llvm/llvm-project/commit/01c11569fc67b2a00403f64695fff6d2b4e78fe5
  Author: Piotr Zegar <me at piotrzegar.pl>
  Date:   2023-09-10 (Sun, 10 Sep 2023)

  Changed paths:
    M clang-tools-extra/clang-tidy/modernize/UseNullptrCheck.cpp
    M clang-tools-extra/clang-tidy/modernize/UseNullptrCheck.h
    M clang-tools-extra/clang-tidy/utils/Matchers.cpp
    M clang-tools-extra/clang-tidy/utils/Matchers.h
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/docs/clang-tidy/checks/modernize/use-nullptr.rst
    M clang-tools-extra/test/clang-tidy/checkers/modernize/use-nullptr-cxx20.cpp

  Log Message:
  -----------
  [clang-tidy] Add IgnoreTypes option to modernize-use-nullptr

New option added and configured in a way, so types
related to std::strong_ordering would be ignored.

Fixes: #63478

Reviewed By: ccotter

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




More information about the All-commits mailing list