diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-01-11 16:01:46 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-01-11 16:02:24 +0000 |
commit | bf03944d5d9a7e7c8105c69dfa0d7e0d345644df (patch) | |
tree | 907c791c95e5ca3eec5e373b0253065ec11a3da2 /clang/lib/Serialization/GlobalModuleIndex.cpp | |
parent | 93431f96a7b14ff03036bae77cc0197fdc98ad52 (diff) | |
download | bcm5719-llvm-bf03944d5d9a7e7c8105c69dfa0d7e0d345644df.tar.gz bcm5719-llvm-bf03944d5d9a7e7c8105c69dfa0d7e0d345644df.zip |
Fix "pointer is null" static analyzer warnings. NFCI.
Use castAs<> instead of getAs<> since the pointers are dereferenced immediately and castAs will perform the null assertion for us.
Diffstat (limited to 'clang/lib/Serialization/GlobalModuleIndex.cpp')
0 files changed, 0 insertions, 0 deletions