clang-tools 22.0.0git
clang::clangd::Config::ExternalIndexSpec Struct Reference

Describes an external index configuration. More...

#include <Config.h>

Public Types

enum  { None , File , Server }

Public Attributes

enum clang::clangd::Config::ExternalIndexSpec:: { ... }  Kind = None
std::string Location
 This is one of:
std::string MountPoint
 Absolute path to source root this index is associated with, uses forward-slashes.

Detailed Description

Describes an external index configuration.

Definition at line 78 of file Config.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
None 
File 
Server 

Definition at line 79 of file Config.h.

Member Data Documentation

◆ []

◆ Location

std::string clang::clangd::Config::ExternalIndexSpec::Location

This is one of:

  • Address of a clangd-index-server, in the form of "ip:port".
  • Absolute path to an index produced by clangd-indexer.

Definition at line 83 of file Config.h.

Referenced by llvm::DenseMapInfo< clang::clangd::Config::ExternalIndexSpec >::getHashValue(), and llvm::DenseMapInfo< clang::clangd::Config::ExternalIndexSpec >::isEqual().

◆ MountPoint

std::string clang::clangd::Config::ExternalIndexSpec::MountPoint

Absolute path to source root this index is associated with, uses forward-slashes.

Definition at line 86 of file Config.h.

Referenced by llvm::DenseMapInfo< clang::clangd::Config::ExternalIndexSpec >::getHashValue(), and llvm::DenseMapInfo< clang::clangd::Config::ExternalIndexSpec >::isEqual().


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