clang-tools 22.0.0git
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::createScopeFileDistance().

◆ DownCost

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

Definition at line 53 of file FileDistance.h.

Referenced by clang::clangd::createScopeFileDistance().

◆ 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.

Referenced by clang::clangd::createScopeFileDistance().


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