clang-tools  14.0.0git
Public Attributes | List of all members
clang::clangd::RenameOptions Struct Reference

#include <Rename.h>

Collaboration diagram for clang::clangd::RenameOptions:
Collaboration graph
[legend]

Public Attributes

size_t LimitFiles = 50
 The maximum number of affected files (0 means no limit), only meaningful when AllowCrossFile = true. More...
 
bool WantFormat = false
 If true, format the rename edits, only meaningful in ClangdServer layer. More...
 

Detailed Description

Definition at line 24 of file Rename.h.

Member Data Documentation

◆ LimitFiles

size_t clang::clangd::RenameOptions::LimitFiles = 50

The maximum number of affected files (0 means no limit), only meaningful when AllowCrossFile = true.

If the actual number exceeds the limit, rename is forbidden.

Definition at line 28 of file Rename.h.

◆ WantFormat

bool clang::clangd::RenameOptions::WantFormat = false

If true, format the rename edits, only meaningful in ClangdServer layer.

Definition at line 30 of file Rename.h.


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