clang 20.0.0git
|
Public Member Functions | |
DotMemberAccessHandler (Sema &S, CodeCompletionContext CCC, std::vector< std::string > &Results) | |
void | handleDeclaration (const CodeCompletionResult &Result) override |
Converts a Declaration completion result to a completion string, and then stores it in Results. | |
void | handleKeyword (const CodeCompletionResult &Result) override |
Converts a Keyword completion result to a completion string, and then stores it in Results. | |
Public Member Functions inherited from clang::CompletionContextHandler | |
CompletionContextHandler (Sema &S, CodeCompletionContext CCC, std::vector< std::string > &Results) | |
virtual | ~CompletionContextHandler ()=default |
virtual void | handleDeclaration (const CodeCompletionResult &Result) |
Converts a Declaration completion result to a completion string, and then stores it in Results. | |
virtual void | handleKeyword (const CodeCompletionResult &Result) |
Converts a Keyword completion result to a completion string, and then stores it in Results. | |
virtual void | handlePattern (const CodeCompletionResult &Result) |
Converts a Pattern completion result to a completion string, and then stores it in Results. | |
virtual void | handleMacro (const CodeCompletionResult &Result) |
Converts a Macro completion result to a completion string, and then stores it in Results. | |
Additional Inherited Members | |
Protected Attributes inherited from clang::CompletionContextHandler | |
CodeCompletionContext | CCC |
std::vector< std::string > & | Results |
Definition at line 139 of file CodeCompletion.cpp.
|
inline |
Definition at line 141 of file CodeCompletion.cpp.
|
inlineoverridevirtual |
Converts a Declaration completion result to a completion string, and then stores it in Results.
Reimplemented from clang::CompletionContextHandler.
Definition at line 144 of file CodeCompletion.cpp.
References clang::CompletionContextHandler::CCC, clang::Type::getAsCXXRecordDecl(), clang::CodeCompletionContext::getBaseType(), clang::CXXRecordDecl::getCanonicalDecl(), ID, clang::Result, and clang::CompletionContextHandler::Results.
|
inlineoverridevirtual |
Converts a Keyword completion result to a completion string, and then stores it in Results.
Reimplemented from clang::CompletionContextHandler.
Definition at line 159 of file CodeCompletion.cpp.