clang-tools  16.0.0git
Public Attributes | List of all members
clang::clangd::SymbolRelevanceSignals::DerivedSignals Struct Reference

Set of derived signals computed by calculateDerivedSignals(). More...

#include <Quality.h>

Collaboration diagram for clang::clangd::SymbolRelevanceSignals::DerivedSignals:
Collaboration graph

Public Attributes

bool NameMatchesContext = false
 Whether Name contains some word from context. More...
unsigned FileProximityDistance = FileDistance::Unreachable
 Min distance between SymbolURI and all the headers included by the TU. More...
unsigned ScopeProximityDistance = FileDistance::Unreachable
 Min distance between SymbolScope and all the available scopes. More...

Detailed Description

Set of derived signals computed by calculateDerivedSignals().

Must not be set explicitly.

Definition at line 151 of file Quality.h.

Member Data Documentation

◆ FileProximityDistance

unsigned clang::clangd::SymbolRelevanceSignals::DerivedSignals::FileProximityDistance = FileDistance::Unreachable

◆ NameMatchesContext

bool clang::clangd::SymbolRelevanceSignals::DerivedSignals::NameMatchesContext = false

Whether Name contains some word from context.

Definition at line 153 of file Quality.h.

Referenced by clang::clangd::SymbolRelevanceSignals::calculateDerivedSignals(), and clang::clangd::SymbolRelevanceSignals::evaluateHeuristics().

◆ ScopeProximityDistance

unsigned clang::clangd::SymbolRelevanceSignals::DerivedSignals::ScopeProximityDistance = FileDistance::Unreachable

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