[all-commits] [llvm/llvm-project] 5e373b: [Sema] Use isa<> instead of dyn_cast<> as pointer ...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Sun Nov 15 05:07:37 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 5e373b2e94d714a7250e961029a58bae5585f33e
https://github.com/llvm/llvm-project/commit/5e373b2e94d714a7250e961029a58bae5585f33e
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2020-11-15 (Sun, 15 Nov 2020)
Changed paths:
M clang/lib/Sema/CodeCompleteConsumer.cpp
Log Message:
-----------
[Sema] Use isa<> instead of dyn_cast<> as pointer is never dereferenced. NFCI.
We are only checking for the class type. Fixes Wshadow warnings.
More information about the All-commits
mailing list