aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2022-03-09 11:21:38 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2022-03-09 11:40:37 +0000
commitd258196f5fddf510e785be68da803d5feae56855 (patch)
treeeb64f6d83ca1ff586a26dce03c7c8cbdd906dab8 /clang/lib/Frontend/CompilerInvocation.cpp
parenta157d839c52077001f234ce5c8b0cbc05fbb429c (diff)
downloadllvm-d258196f5fddf510e785be68da803d5feae56855.zip
llvm-d258196f5fddf510e785be68da803d5feae56855.tar.gz
llvm-d258196f5fddf510e785be68da803d5feae56855.tar.bz2
[clang] ScalarExprEmitter::VisitCastExpr - use castAs<> instead of getAs<> to avoid dereference of nullptr
The pointers are always dereferenced, so assert the cast is correct instead of returning nullptr
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions