njames93 added inline comments.
================ Comment at: clang-tools-extra/test/clang-tidy/checkers/llvm/prefer-isa-or-dyn-cast-in-conditionals.cpp:12-13 template <class X, class Y> bool isa(Y *); template <class X, class Y> ---------------- whisperity wrote: > Will the tests pass properly once the fixes are applied, even though the > replaced code refers to a symbol (`isa_and_present`) that is not declared in > the TU? The current tests would fail if ran once the fixes are applied as `isa_and_nonnull` doesn't exist in this TU. Most tidy checks (for better or worse) don't check for existence of an identifier that is expected to be there when making replacements. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D131319/new/ https://reviews.llvm.org/D131319 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits