aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2020-01-10 17:18:19 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2020-01-10 17:21:20 +0000
commitcce4676d6d78ba56e929bd37d65c2667390b68c7 (patch)
tree219999c97fce6f0ec139b6395d3d17144e51b2d8 /clang/lib/Frontend/CompilerInvocation.cpp
parentcdc9592bf1acb6d8012a4867d2a22458945dcceb (diff)
downloadllvm-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