Commit 9c8f325
committed
Add a defensive nullptr check.
ASTContext::get##NAME##Type() can return an empty type and we have LLDB crash
logs that show this can really happen.
rdar://745035671 parent 58f03e8 commit 9c8f325
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2351 | 2351 | | |
2352 | 2352 | | |
2353 | 2353 | | |
| 2354 | + | |
| 2355 | + | |
2354 | 2356 | | |
2355 | 2357 | | |
2356 | 2358 | | |
| |||
0 commit comments