diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-01-14 15:47:35 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-01-14 15:47:35 +0000 |
commit | 0cc8404f8cf320da140e560899e1560bce80fe8c (patch) | |
tree | 70cb5f8ce665a99a8c869cfca7947d6770f846ee /lib/Sema/Lookup.h | |
parent | d346736dfe5ef584a2d0c9d27d217408ee394b9b (diff) |
Switch the remaining code completions over to LookupVisibleDecls,
after adding the ability to determine whether our lookup is a
base-class lookup. Eliminate CollectMemberLookupResults, since it is
no longer used (yay).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93428 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/Lookup.h')
-rw-r--r-- | lib/Sema/Lookup.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/Sema/Lookup.h b/lib/Sema/Lookup.h index c5eecdac48..e761346c67 100644 --- a/lib/Sema/Lookup.h +++ b/lib/Sema/Lookup.h @@ -524,7 +524,11 @@ private: /// /// \param Hiding a declaration that hides the declaration \p ND, /// or NULL if no such declaration exists. - virtual void FoundDecl(NamedDecl *ND, NamedDecl *Hiding) = 0; + /// + /// \param InBaseClass whether this declaration was found in base + /// class of the context we searched. + virtual void FoundDecl(NamedDecl *ND, NamedDecl *Hiding, + bool InBaseClass) = 0; }; } |