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

#include <Rename.h>

Public Attributes

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

Detailed Description

Definition at line 25 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 29 of file Rename.h.

◆ RenameVirtual

bool clang::clangd::RenameOptions::RenameVirtual = true

Allow rename of virtual method hierarchies.

Disable to support broken index implementations with missing relations. FIXME: fix those implementations and remove this option.

Definition at line 35 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 31 of file Rename.h.


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