diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-10-11 21:37:58 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-10-11 21:37:58 +0000 |
commit | 32be4a588fbb87d0d163ead49c42f5438bf0b2b7 (patch) | |
tree | b419e2312a2d3b96d6476b6baade5f9b034df02c /include/clang/Sema/CodeCompleteConsumer.h | |
parent | f2ad2c92720f0e25c032188783a1d6374155f03a (diff) |
Switch c-index-test from clang_codeComplete() over to
clang_codeCompleteAt(). This uncovered a few issues with the latter:
- ASTUnit wasn't saving/restoring diagnostic state appropriately between
reparses and code completions.
- "Overload" completions weren't being passed through to the client
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116241 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, 2 insertions, 1 deletions
diff --git a/include/clang/Sema/CodeCompleteConsumer.h b/include/clang/Sema/CodeCompleteConsumer.h index d43a077802..d607ab149b 100644 --- a/include/clang/Sema/CodeCompleteConsumer.h +++ b/include/clang/Sema/CodeCompleteConsumer.h @@ -722,7 +722,8 @@ public: /// \brief Create a new code-completion string that describes the function /// signature of this overload candidate. CodeCompletionString *CreateSignatureString(unsigned CurrentArg, - Sema &S) const; + Sema &S, + CodeCompletionString *Result = 0) const; }; CodeCompleteConsumer() : IncludeMacros(false), IncludeCodePatterns(false), |