File tree 2 files changed +6
-0
lines changed 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,11 @@ class DebuggerClient {
61
61
SourceLoc Loc, bool IsTypeLookup,
62
62
ResultVector &RV) = 0;
63
63
64
+ // / Allows the DebuggerClient to prune the results of a name lookup before
65
+ // / returning to the caller. (See finishLookup in NameLookup.cpp.)
66
+ virtual void finishLookup (const DeclContext *dc, NLOptions options,
67
+ SmallVectorImpl<ValueDecl *> &decls) {}
68
+
64
69
// / When evaluating an expression in the context of an existing source file,
65
70
// / we may want to prefer declarations from that source file.
66
71
// / The DebuggerClient can return a private-discriminator to tell lookup to
Original file line number Diff line number Diff line change 20
20
#include " swift/AST/ASTVisitor.h"
21
21
#include " swift/AST/ClangModuleLoader.h"
22
22
#include " swift/AST/DebuggerClient.h"
23
+ #include " swift/AST/DeclContext.h"
23
24
#include " swift/AST/ExistentialLayout.h"
24
25
#include " swift/AST/LazyResolver.h"
25
26
#include " swift/AST/Initializer.h"
You can’t perform that action at this time.
0 commit comments