mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
SourceEntityWalker: Add a parameter to visitDeclReference() describing the kind of the reference under visit. NFC
This commit is contained in:
@@ -1367,7 +1367,8 @@ private:
|
||||
return true;
|
||||
}
|
||||
bool visitDeclReference(ValueDecl *D, CharSourceRange Range,
|
||||
TypeDecl *CtorTyRef, Type T) override {
|
||||
TypeDecl *CtorTyRef, Type T,
|
||||
SemaReferenceKind Kind) override {
|
||||
if (Cancelled)
|
||||
return false;
|
||||
if (CtorTyRef)
|
||||
|
||||
Reference in New Issue
Block a user