[PATCH] D59802: [clang-tidy] Add new checker: llvm-prefer-isa-or-dyn-cast-in-conditionals
Eugene Zelenko via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 2 15:31:30 PDT 2019
Eugene.Zelenko added inline comments.
================
Comment at: clang-tools-extra/docs/clang-tidy/checks/llvm-prefer-isa-or-dyn-cast-in-conditionals.rst:6
+
+ Looks at conditionals and finds cases of ``cast<>``, which will
+ assert rather than return a null pointer, and ``dyn_cast<>`` where
----------------
Indentation is not needed here. Same for following lines.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59802/new/
https://reviews.llvm.org/D59802
More information about the cfe-commits
mailing list