aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2020-01-08 14:18:47 -0800
committerAdrian Prantl <aprantl@apple.com>2020-01-10 08:52:46 -0800
commite9331a56fead1823d528d6412828fb9e16fd62ff (patch)
tree0532d62035494c012cd196e24065418c6eed7c62 /clang/lib/Frontend/CompilerInvocation.cpp
parentbdd88b7ed3956534a0a71b1ea2bc88c69d48f9b7 (diff)
downloadllvm-e9331a56fead1823d528d6412828fb9e16fd62ff.zip
llvm-e9331a56fead1823d528d6412828fb9e16fd62ff.tar.gz
llvm-e9331a56fead1823d528d6412828fb9e16fd62ff.tar.bz2
Add missing nullptr checks.
GetPersistentExpressionStateForLanguage() can return a nullptr if it cannot construct a typesystem. This patch adds missing nullptr checks at all uses. Inspired by rdar://problem/58317195 Differential Revision: https://reviews.llvm.org/D72413
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions