aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2020-01-09 14:18:58 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2020-01-10 10:32:36 +0000
commit2e66405d8d8ed818cb9310b6c33419bd8d803d96 (patch)
tree6beb034d0f468d6d73fab4ccfc2a50be3b8bc2ac /clang/lib/Frontend/CompilerInvocation.cpp
parent498856fca5b9306f545554aeec93c7c058f03eb3 (diff)
downloadllvm-2e66405d8d8ed818cb9310b6c33419bd8d803d96.zip
llvm-2e66405d8d8ed818cb9310b6c33419bd8d803d96.tar.gz
llvm-2e66405d8d8ed818cb9310b6c33419bd8d803d96.tar.bz2
Don't use dyn_cast_or_null if we know the pointer is nonnull.
Fix clang static analyzer null dereference warning by using dyn_cast instead.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions