diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-09-18 18:07:23 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-09-18 18:07:23 +0000 |
commit | 5836b010d0a74c8b7be3f2616332cd70d3c87f83 (patch) | |
tree | d200d9f9739d6aa5c28c8523159ffae974524da1 /include/clang/Sema/CodeCompleteConsumer.h | |
parent | 75b7128e93d736331bde659b05cd176f9dd6d047 (diff) |
Don't perform name lookup into a given declaration context more than once during code completion
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82234 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Sema/CodeCompleteConsumer.h')
-rw-r--r-- | include/clang/Sema/CodeCompleteConsumer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/clang/Sema/CodeCompleteConsumer.h b/include/clang/Sema/CodeCompleteConsumer.h index ce5707ed3a..a1d07a0fb3 100644 --- a/include/clang/Sema/CodeCompleteConsumer.h +++ b/include/clang/Sema/CodeCompleteConsumer.h @@ -198,6 +198,9 @@ public: ResultSet &Results); unsigned CollectMemberLookupResults(DeclContext *Ctx, unsigned InitialRank, ResultSet &Results); + unsigned CollectMemberLookupResults(DeclContext *Ctx, unsigned InitialRank, + llvm::SmallPtrSet<DeclContext *, 16> &Visited, + ResultSet &Results); //@} /// \name Name lookup predicates |