clang-tools 19.0.0git
Public Member Functions | Public Attributes | List of all members
clang::clangd::config::Located< T > Struct Template Reference

An entity written in config along, with its optional location in the file. More...

#include <ConfigFragment.h>

Inheritance diagram for clang::clangd::config::Located< T >:
Inheritance graph
[legend]

Public Member Functions

 Located (T Value, llvm::SMRange Range={})
 
T * operator-> ()
 
const T * operator-> () const
 
T & operator* ()
 
const T & operator* () const
 

Public Attributes

llvm::SMRange Range
 

Detailed Description

template<typename T>
struct clang::clangd::config::Located< T >

An entity written in config along, with its optional location in the file.

Definition at line 47 of file ConfigFragment.h.

Constructor & Destructor Documentation

◆ Located()

template<typename T >
clang::clangd::config::Located< T >::Located ( Value,
llvm::SMRange  Range = {} 
)
inline

Definition at line 48 of file ConfigFragment.h.

Member Function Documentation

◆ operator*() [1/2]

template<typename T >
T & clang::clangd::config::Located< T >::operator* ( )
inline

Definition at line 54 of file ConfigFragment.h.

◆ operator*() [2/2]

template<typename T >
const T & clang::clangd::config::Located< T >::operator* ( ) const
inline

Definition at line 55 of file ConfigFragment.h.

◆ operator->() [1/2]

template<typename T >
T * clang::clangd::config::Located< T >::operator-> ( )
inline

Definition at line 52 of file ConfigFragment.h.

◆ operator->() [2/2]

template<typename T >
const T * clang::clangd::config::Located< T >::operator-> ( ) const
inline

Definition at line 53 of file ConfigFragment.h.

Member Data Documentation

◆ Range

template<typename T >
llvm::SMRange clang::clangd::config::Located< T >::Range

Definition at line 51 of file ConfigFragment.h.


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