clang-tools  7.0.0
Classes | Public Member Functions | Public Attributes | List of all members
clang::clangd::SymbolLocation Struct Reference

#include <Index.h>

Collaboration diagram for clang::clangd::SymbolLocation:
[legend]

Classes

struct  Position
 

Public Member Functions

 operator bool () const
 
bool operator== (const SymbolLocation &Loc) const
 

Public Attributes

llvm::StringRef FileURI
 
Position Start
 The symbol range, using half-open range [Start, End). More...
 
Position End
 

Detailed Description

Definition at line 26 of file Index.h.

Member Function Documentation

◆ operator bool()

clang::clangd::SymbolLocation::operator bool ( ) const
inlineexplicit

Definition at line 45 of file Index.h.

◆ operator==()

bool clang::clangd::SymbolLocation::operator== ( const SymbolLocation Loc) const
inline

Definition at line 46 of file Index.h.

References End, FileURI, clang::clangd::operator<<(), and Start.

Member Data Documentation

◆ End

Position clang::clangd::SymbolLocation::End

◆ FileURI

llvm::StringRef clang::clangd::SymbolLocation::FileURI

◆ Start

Position clang::clangd::SymbolLocation::Start

The symbol range, using half-open range [Start, End).

Definition at line 42 of file Index.h.

Referenced by llvm::yaml::MappingTraits< SymbolLocation >::mapping(), clang::clangd::operator<<(), and operator==().


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