diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-01-10 17:18:19 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-01-10 17:21:20 +0000 |
commit | cce4676d6d78ba56e929bd37d65c2667390b68c7 (patch) | |
tree | 219999c97fce6f0ec139b6395d3d17144e51b2d8 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | cdc9592bf1acb6d8012a4867d2a22458945dcceb (diff) | |
download | llvm-cce4676d6d78ba56e929bd37d65c2667390b68c7.zip llvm-cce4676d6d78ba56e929bd37d65c2667390b68c7.tar.gz llvm-cce4676d6d78ba56e929bd37d65c2667390b68c7.tar.bz2 |
Fix "pointer is null" static analyzer warning. NFCI.
Use castAs<> instead of getAs<> since the pointer is dereferenced immediately below and castAs will perform the null assertion for us.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions