summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaDeclCXX.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2020-01-14 14:15:51 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2020-01-14 16:31:17 +0000
commitab9dbc1d124cdf288474073f5233e3fd6ee8e9c3 (patch)
tree53a1203e3b3f7696a3d14e19e381bdd3dd84f088 /clang/lib/Sema/SemaDeclCXX.cpp
parente2b8e2113a4929027a237b67f7be86db4ec103d3 (diff)
downloadbcm5719-llvm-ab9dbc1d124cdf288474073f5233e3fd6ee8e9c3.tar.gz
bcm5719-llvm-ab9dbc1d124cdf288474073f5233e3fd6ee8e9c3.zip
Fix "pointer is null" clang static analyzer warnings. NFCI.
Use cast<>/castAs<> instead of dyn_cast<>/getAs<> since the pointers are always dereferenced and cast<>/castAs<> will perform the null assertion for us.
Diffstat (limited to 'clang/lib/Sema/SemaDeclCXX.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud