HomePhabricator

[clangd] NFC: Prefer `isa<>` to `dyn_cast<>` to do the checking.

Authored by MTC on Nov 26 2018, 8:27 PM.

Description

[clangd] NFC: Prefer isa<> to dyn_cast<> to do the checking.

Summary: Prefer isa<> to dyn_cast<> when there only need a checking.

Reviewers: ilya-biryukov, MaskRay

Reviewed By: ilya-biryukov, MaskRay

Subscribers: ioeric, MaskRay, jkorous, arphaman, kadircet, cfe-commits, MTC

Differential Revision: https://reviews.llvm.org/D54878

llvm-svn: 347635

Details

Committed
MTCNov 26 2018, 8:27 PM
Reviewer
ilya-biryukov
Differential Revision
D54878: [clangd] NFC: Prefer `isa<>` to `dyn_cast<>` to do the checking.
Parents
rG0bbbc55182b5: [docs] UBSan and ASan are supported on Windows
Branches
Unknown
Tags
Unknown