[PATCH] D158928: [clang-tidy] Add IgnoreTypes option to modernize-use-nullptr

Piotr Zegar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Aug 26 04:15:28 PDT 2023


PiotrZSL created this revision.
PiotrZSL added reviewers: carlosgalvezp, njames93.
Herald added a subscriber: xazax.hun.
Herald added a project: All.
PiotrZSL requested review of this revision.
Herald added subscribers: cfe-commits, wangpc.
Herald added a project: clang-tools-extra.

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

Fixes: #63478


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D158928

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158928.553719.patch
Type: text/x-patch
Size: 9581 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230826/6e484c47/attachment.bin>


More information about the cfe-commits mailing list