This is an archive of the discontinued LLVM Phabricator instance.

[AST] Fix the PrintQualifiedName for ObjC instance variable in class extension.
ClosedPublic

Authored by hokein on May 7 2020, 7:17 AM.

Details

Summary

Similar to property, we print the containing interface decl as the
nested name specifier for ivar; otherwise we will get "::ivar_name".

this would fix an assertion crash in clangd: https://github.com/clangd/clangd/issues/365

Diff Detail

Event Timeline

hokein created this revision.May 7 2020, 7:17 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 7 2020, 7:17 AM
sammccall accepted this revision.May 18 2020, 1:03 PM
This revision is now accepted and ready to land.May 18 2020, 1:03 PM
This revision was automatically updated to reflect the committed changes.