clang-tools 20.0.0git
Public Attributes | List of all members
clang::clangd::ClangdServer::CodeActionInputs Struct Reference

#include <ClangdServer.h>

Public Attributes

std::string File
 
Range Selection
 
std::vector< std::string > RequestedActionKinds
 Requested kind of actions to return.
 
std::vector< DiagRefDiagnostics
 Diagnostics attached to the code action request.
 
std::function< bool(const Tweak &)> TweakFilter
 Tweaks where Filter returns false will not be checked or included.
 

Detailed Description

Definition at line 375 of file ClangdServer.h.

Member Data Documentation

◆ Diagnostics

std::vector<DiagRef> clang::clangd::ClangdServer::CodeActionInputs::Diagnostics

Diagnostics attached to the code action request.

Definition at line 383 of file ClangdServer.h.

Referenced by clang::clangd::ClangdServer::codeAction().

◆ File

std::string clang::clangd::ClangdServer::CodeActionInputs::File

Definition at line 376 of file ClangdServer.h.

Referenced by clang::clangd::ClangdServer::codeAction().

◆ RequestedActionKinds

std::vector<std::string> clang::clangd::ClangdServer::CodeActionInputs::RequestedActionKinds

Requested kind of actions to return.

Definition at line 380 of file ClangdServer.h.

Referenced by clang::clangd::ClangdServer::codeAction().

◆ Selection

Range clang::clangd::ClangdServer::CodeActionInputs::Selection

Definition at line 377 of file ClangdServer.h.

Referenced by clang::clangd::ClangdServer::codeAction().

◆ TweakFilter

std::function<bool(const Tweak &)> clang::clangd::ClangdServer::CodeActionInputs::TweakFilter

Tweaks where Filter returns false will not be checked or included.

Definition at line 386 of file ClangdServer.h.

Referenced by clang::clangd::ClangdServer::codeAction().


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