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

#include <Protocol.h>

Public Attributes

std::string label
 A human-readable string describing the actual change.
 
std::optional< bool > needsConfirmation
 A flag which indicates that user confirmation is needed before applying the change.
 
std::string description
 A human-readable string which is rendered less prominent in the user interface.
 

Detailed Description

Definition at line 264 of file Protocol.h.

Member Data Documentation

◆ description

std::string clang::clangd::ChangeAnnotation::description

A human-readable string which is rendered less prominent in the user interface.

Definition at line 275 of file Protocol.h.

Referenced by clang::clangd::fromJSON(), and clang::clangd::toJSON().

◆ label

std::string clang::clangd::ChangeAnnotation::label

A human-readable string describing the actual change.

The string is rendered prominent in the user interface.

Definition at line 267 of file Protocol.h.

Referenced by clang::clangd::fromJSON(), and clang::clangd::toJSON().

◆ needsConfirmation

std::optional<bool> clang::clangd::ChangeAnnotation::needsConfirmation

A flag which indicates that user confirmation is needed before applying the change.

Definition at line 271 of file Protocol.h.

Referenced by clang::clangd::fromJSON(), and clang::clangd::toJSON().


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