Fix missing indexing data when using Self initializer

Fixes: https://github.com/apple/swift/issues/64686
This commit is contained in:
Keith Smiley
2023-04-28 14:26:01 -07:00
parent bfe975d5f8
commit 1d3a9baed2
5 changed files with 81 additions and 4 deletions

View File

@@ -48,6 +48,7 @@ struct ReferenceMetaData {
SemaReferenceKind Kind;
llvm::Optional<AccessKind> AccKind;
bool isImplicit = false;
bool isImplicitCtorType = false;
/// When non-none, this is a custom attribute reference.
Optional<std::pair<const CustomAttr *, Decl *>> CustomAttrRef;