summaryrefslogtreecommitdiffstats
path: root/clang/lib/Serialization/GlobalModuleIndex.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2020-01-11 16:01:46 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2020-01-11 16:02:24 +0000
commitbf03944d5d9a7e7c8105c69dfa0d7e0d345644df (patch)
tree907c791c95e5ca3eec5e373b0253065ec11a3da2 /clang/lib/Serialization/GlobalModuleIndex.cpp
parent93431f96a7b14ff03036bae77cc0197fdc98ad52 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud