clang-tools  14.0.0git
Public Types | Public Attributes | List of all members
clang::clangd::Config::ExternalIndexSpec Struct Reference

Describes an external index configuration. More...

#include <Config.h>

Collaboration diagram for clang::clangd::Config::ExternalIndexSpec:
Collaboration graph
[legend]

Public Types

enum  { None, File, Server }
 

Public Attributes

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

Detailed Description

Describes an external index configuration.

Definition at line 72 of file Config.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
None 
File 
Server 

Definition at line 73 of file Config.h.

Member Data Documentation

◆ Kind

enum { ... } clang::clangd::Config::ExternalIndexSpec::Kind

◆ 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 77 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 80 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: