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
Paths
| Differential D79576
[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 this would fix an assertion crash in clangd: https://github.com/clangd/clangd/issues/365
Diff Detail
Event TimelineThis revision is now accepted and ready to land.May 18 2020, 1:03 PM Closed by commit rG6f56599c14af: [AST] Fix the PrintQualifiedName for ObjC instance variable in class extension. (authored by hokein). · Explain WhyMay 19 2020, 6:29 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 264883 clang/lib/AST/Decl.cpp
clang/unittests/AST/NamedDeclPrinterTest.cpp
|