[PATCH] D131319: [clang-tidy] Update llvm-prefer-isa-or-dyn-cast-in-conditionals with new syntax

Whisperity via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 9 06:28:03 PDT 2022


whisperity 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>
----------------
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?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D131319/new/

https://reviews.llvm.org/D131319



More information about the cfe-commits mailing list