HomePhabricator

[clangd] More complete fix for hover crashes on invalid record.

Authored by hokein on Jul 6 2020, 8:12 AM.

Description

[clangd] More complete fix for hover crashes on invalid record.

We should not call getFieldOffset on invalid record decls.

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