HomePhabricator

Add missing nullptr checks.

Authored by aprantl on Jan 8 2020, 2:18 PM.

Description

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

Details

Committed
aprantlJan 10 2020, 8:52 AM
Differential Revision
D72413: Add missing nullptr checks.
Parents
rGbdd88b7ed395: Add support for __declspec(guard(nocf))
Branches
Unknown
Tags
Unknown