HomePhabricator

[clang] Don't segfault on incorrect using directive (PR41400)

Authored by Tyker on Jun 14 2019, 1:25 AM.

Description

[clang] Don't segfault on incorrect using directive (PR41400)

Summary:
this is a bugfixe for PR41400

added nullptr check at the relevent place and test

Reviewers: rsmith, riccibruno

Reviewed By: rsmith

Subscribers: jkooker, jkorous, riccibruno, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D60523

llvm-svn: 363360

Details

Committed
TykerJun 14 2019, 1:25 AM
Reviewer
rsmith
Differential Revision
D60523: [clang] Don't segfault on incorrect using directive (PR41400)
Parents
rGd46ebd207bc6: [llvm-objcopy][IHEX] Improve test case formatting. NFC
Branches
Unknown
Tags
Unknown