clang-tools  9.0.0
Static Public Member Functions | Public Attributes | List of all members
clang::clangd::Tweak::Effect Struct Reference

#include <Tweak.h>

Collaboration diagram for clang::clangd::Tweak::Effect:
[legend]

Static Public Member Functions

static Effect applyEdit (tooling::Replacements R)
 
static Effect showMessage (StringRef S)
 

Public Attributes

llvm::Optional< std::string > ShowMessage
 A message to be displayed to the user. More...
 
llvm::Optional< tooling::Replacements > ApplyEdit
 An edit to apply to the input file. More...
 

Detailed Description

Definition at line 67 of file Tweak.h.

Member Function Documentation

◆ applyEdit()

static Effect clang::clangd::Tweak::Effect::applyEdit ( tooling::Replacements  R)
inlinestatic

Definition at line 73 of file Tweak.h.

◆ showMessage()

static Effect clang::clangd::Tweak::Effect::showMessage ( StringRef  S)
inlinestatic

Member Data Documentation

◆ ApplyEdit

llvm::Optional<tooling::Replacements> clang::clangd::Tweak::Effect::ApplyEdit

An edit to apply to the input file.

Definition at line 71 of file Tweak.h.

◆ ShowMessage

llvm::Optional<std::string> clang::clangd::Tweak::Effect::ShowMessage

A message to be displayed to the user.

Definition at line 69 of file Tweak.h.

Referenced by showMessage().


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