HomePhabricator

[clang][index] Fix a crash for accessing a null field decl.

Authored by hokein on May 20 2020, 2:15 PM.

Description

[clang][index] Fix a crash for accessing a null field decl.

getField() may return a nullptr, we already did that in
BodyIndexer::VisitDesignatedInitExpr, but missed one place.

Details

Committed
hokeinMay 21 2020, 12:47 AM
Parents
rG1c3d9c2f3629: [SVE] Remove IITDescriptor::ScalableVecArgument
Branches
Unknown
Tags
Unknown