Showing content from https://clang.llvm.org/doxygen/classclang_1_1PrintingCodeCompleteConsumer.html below:
clang: clang::PrintingCodeCompleteConsumer Class Reference
A simple code-completion consumer that prints the results it receives in a simple format. More...
#include "clang/Sema/CodeCompleteConsumer.h"
PrintingCodeCompleteConsumer (const CodeCompleteOptions &CodeCompleteOpts, raw_ostream &OS) Create a new printing code-completion consumer that prints its results to the given raw output stream.
void ProcessCodeCompleteResults (Sema &S, CodeCompletionContext Context, CodeCompletionResult *Results, unsigned NumResults) override Prints the finalized code-completion results.
void ProcessOverloadCandidates (Sema &S, unsigned CurrentArg, OverloadCandidate *Candidates, unsigned NumCandidates, SourceLocation OpenParLoc, bool Braced) override bool isResultFilteredOut (StringRef Filter, CodeCompletionResult Results) override CodeCompletionAllocator & getAllocator () override Retrieve the allocator that will be used to allocate code completion strings.
CodeCompletionTUInfo & getCodeCompletionTUInfo () override 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.
A simple code-completion consumer that prints the results it receives in a simple format.
Definition at line 1261 of file CodeCompleteConsumer.h.
◆ PrintingCodeCompleteConsumer() clang::PrintingCodeCompleteConsumer::PrintingCodeCompleteConsumer ( const CodeCompleteOptions & CodeCompleteOpts, raw_ostream & OS ) inline
Create a new printing code-completion consumer that prints its results to the given raw output stream.
Definition at line 1270 of file CodeCompleteConsumer.h.
◆ getAllocator() ◆ getCodeCompletionTUInfo() ◆ isResultFilteredOut() ◆ ProcessCodeCompleteResults() ◆ ProcessOverloadCandidates()
The documentation for this class was generated from the following files:
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4