aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2020-12-08 16:37:05 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2020-12-08 16:37:20 +0000
commit25f5df7e0bc950ad244e8da000ce4248bd41c140 (patch)
tree1e3c02ca7b4308a1a95f1e16c1c1b3e1b9c90c8f /clang/lib/Frontend/CompilerInvocation.cpp
parent111ae220a3bff944e10a0760ce344630f4efc40d (diff)
downloadllvm-25f5df7e0bc950ad244e8da000ce4248bd41c140.zip
llvm-25f5df7e0bc950ad244e8da000ce4248bd41c140.tar.gz
llvm-25f5df7e0bc950ad244e8da000ce4248bd41c140.tar.bz2
SemaType.cpp - use castAs<> instead of getAs<> for dereferenced pointers
Fix static analyzer warnings - castAs<> will assert the type is correct, but getAs<> just returns null, which would just result in a dereferenced null pointer.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions