HomePhabricator

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

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

Details

Committed
henrywongNov 26 2018, 8:27 PM
Reviewer
ilya-biryukov
Differential Revision
D54878: [clangd] NFC: Prefer `isa<>` to `dyn_cast<>` to do the checking.
Parents
rL347634: Update 7.0.1 release schedule
Branches
Unknown
Tags
Unknown