[clang-tools-extra] [clang-tidy] Fix modernize-use-nullptr false positive on ordering comparisons (PR #225585)

Zeyi Xu via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 22 22:40:30 PDT 2026


================
@@ -38,6 +38,10 @@ AST_MATCHER(DecltypeType, decltypeTypeNullptrLiteral) {
 
 static constexpr char CastSequence[] = "sequence";
 
+static constexpr char DefaultIgnoredTypes[] = "_CmpUnspecifiedParam;"
----------------
zeyi2 wrote:

Nit: maybe add `std::` to `_CmpUnspecifiedParam`?

https://github.com/llvm/llvm-project/pull/225585


More information about the cfe-commits mailing list