clang-tools 22.0.0git
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 >:
[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 48 of file ConfigFragment.h.

Constructor & Destructor Documentation

◆ Located()

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

Definition at line 49 of file ConfigFragment.h.

References Range.

Member Function Documentation

◆ operator*() [1/2]

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

Definition at line 55 of file ConfigFragment.h.

◆ operator*() [2/2]

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

Definition at line 56 of file ConfigFragment.h.

◆ operator->() [1/2]

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

Definition at line 53 of file ConfigFragment.h.

◆ operator->() [2/2]

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

Definition at line 54 of file ConfigFragment.h.

Member Data Documentation

◆ Range

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

Definition at line 52 of file ConfigFragment.h.

Referenced by Located().


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