clang 20.0.0git
Public Member Functions | List of all members
clang::ReplCompletionConsumer Class Reference
Inheritance diagram for clang::ReplCompletionConsumer:
Inheritance graph
[legend]

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.
 
CodeCompletionAllocatorgetAllocator () override
 Retrieve the allocator that will be used to allocate code completion strings.
 
CodeCompletionTUInfogetCodeCompletionTUInfo () 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
 

Detailed Description

Definition at line 43 of file CodeCompletion.cpp.

Constructor & Destructor Documentation

◆ ReplCompletionConsumer()

clang::ReplCompletionConsumer::ReplCompletionConsumer ( std::vector< std::string > &  Results,
ReplCodeCompleter CC 
)
inline

Definition at line 45 of file CodeCompletion.cpp.

Member Function Documentation

◆ getAllocator()

CodeCompletionAllocator & clang::ReplCompletionConsumer::getAllocator ( )
inlineoverridevirtual

Retrieve the allocator that will be used to allocate code completion strings.

Implements clang::CodeCompleteConsumer.

Definition at line 58 of file CodeCompletion.cpp.

◆ getCodeCompletionTUInfo()

CodeCompletionTUInfo & clang::ReplCompletionConsumer::getCodeCompletionTUInfo ( )
inlineoverridevirtual

Implements clang::CodeCompleteConsumer.

Definition at line 60 of file CodeCompletion.cpp.

◆ ProcessCodeCompleteResults()

void clang::ReplCompletionConsumer::ProcessCodeCompleteResults ( class Sema S,
CodeCompletionContext  Context,
CodeCompletionResult Results,
unsigned  NumResults 
)
finalvirtual

The documentation for this class was generated from the following file: