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

#include <FileDistance.h>

Public Attributes

unsigned UpCost = 2
 
unsigned DownCost = 1
 
unsigned IncludeCost = 2
 
bool AllowDownTraversalFromRoot = true
 

Detailed Description

Definition at line 51 of file FileDistance.h.

Member Data Documentation

◆ AllowDownTraversalFromRoot

bool clang::clangd::FileDistanceOptions::AllowDownTraversalFromRoot = true

Definition at line 55 of file FileDistance.h.

Referenced by clang::clangd::FileDistance::distance().

◆ DownCost

unsigned clang::clangd::FileDistanceOptions::DownCost = 1

Definition at line 53 of file FileDistance.h.

Referenced by clang::clangd::FileDistance::distance().

◆ IncludeCost

unsigned clang::clangd::FileDistanceOptions::IncludeCost = 2

Definition at line 54 of file FileDistance.h.

◆ UpCost

unsigned clang::clangd::FileDistanceOptions::UpCost = 2

Definition at line 52 of file FileDistance.h.


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