clang 20.0.0git
|
Public Member Functions | |
ReplCompletionConsumer (std::vector< std::string > &Results, ReplCodeCompleter &CC) | |
void | ProcessCodeCompleteResults (class Sema &S, CodeCompletionContext Context, CodeCompletionResult *InResults, unsigned NumResults) final |
Process the finalized code-completion results. | |
CodeCompletionAllocator & | getAllocator () override |
Retrieve the allocator that will be used to allocate code completion strings. | |
CodeCompletionTUInfo & | getCodeCompletionTUInfo () override |
Public Member Functions inherited from clang::CodeCompleteConsumer | |
CodeCompleteConsumer (const CodeCompleteOptions &CodeCompleteOpts) | |
bool | includeMacros () const |
Whether the code-completion consumer wants to see macros. | |
bool | includeCodePatterns () const |
Whether the code-completion consumer wants to see code patterns. | |
bool | includeGlobals () const |
Whether to include global (top-level) declaration results. | |
bool | includeNamespaceLevelDecls () const |
Whether to include declarations in namespace contexts (including the global namespace). | |
bool | includeBriefComments () const |
Whether to include brief documentation comments within the set of code completions returned. | |
bool | includeFixIts () const |
Whether to include completion items with small fix-its, e.g. | |
bool | loadExternal () const |
Hint whether to load data from the external AST in order to provide full results. | |
virtual | ~CodeCompleteConsumer () |
Deregisters and destroys this code-completion consumer. | |
virtual bool | isResultFilteredOut (StringRef Filter, CodeCompletionResult Results) |
virtual void | ProcessOverloadCandidates (Sema &S, unsigned CurrentArg, OverloadCandidate *Candidates, unsigned NumCandidates, SourceLocation OpenParLoc, bool Braced) |
Additional Inherited Members | |
Protected Attributes inherited from clang::CodeCompleteConsumer | |
const CodeCompleteOptions | CodeCompleteOpts |
Definition at line 43 of file CodeCompletion.cpp.
|
inline |
Definition at line 45 of file CodeCompletion.cpp.
|
inlineoverridevirtual |
Retrieve the allocator that will be used to allocate code completion strings.
Implements clang::CodeCompleteConsumer.
Definition at line 58 of file CodeCompletion.cpp.
|
inlineoverridevirtual |
Implements clang::CodeCompleteConsumer.
Definition at line 60 of file CodeCompletion.cpp.
|
finalvirtual |
Process the finalized code-completion results.
Reimplemented from clang::CodeCompleteConsumer.
Definition at line 162 of file CodeCompletion.cpp.
References clang::CodeCompletionContext::CCC_DotMemberAccess, clang::ReplCodeCompleter::Prefix, clang::Result, clang::CodeCompletionResult::RK_Declaration, clang::CodeCompletionResult::RK_Keyword, clang::CodeCompletionResult::RK_Macro, and clang::CodeCompletionResult::RK_Pattern.