clang-tools  7.0.0
Public Member Functions | Friends | List of all members
clang::clangd::SymbolID Class Reference

#include <Index.h>

Public Member Functions

 SymbolID ()=default
 
 SymbolID (llvm::StringRef USR)
 
bool operator== (const SymbolID &Sym) const
 
bool operator< (const SymbolID &Sym) const
 
std::string str () const
 

Friends

llvm::hash_code hash_value (const SymbolID &ID)
 
llvm::raw_ostream & operator<< (llvm::raw_ostream &OS, const SymbolID &ID)
 
void operator>> (llvm::StringRef Str, SymbolID &ID)
 

Detailed Description

Definition at line 61 of file Index.h.

Constructor & Destructor Documentation

◆ SymbolID() [1/2]

clang::clangd::SymbolID::SymbolID ( )
default

◆ SymbolID() [2/2]

clang::clangd::SymbolID::SymbolID ( llvm::StringRef  USR)
explicit

Member Function Documentation

◆ operator<()

bool clang::clangd::SymbolID::operator< ( const SymbolID Sym) const
inline

Definition at line 69 of file Index.h.

◆ operator==()

bool clang::clangd::SymbolID::operator== ( const SymbolID Sym) const
inline

Definition at line 66 of file Index.h.

◆ str()

std::string clang::clangd::SymbolID::str ( ) const

Definition at line 34 of file Index.cpp.

Friends And Related Function Documentation

◆ hash_value

llvm::hash_code hash_value ( const SymbolID ID)
friend

Definition at line 79 of file Index.h.

◆ operator<<

llvm::raw_ostream& operator<< ( llvm::raw_ostream &  OS,
const SymbolID ID 
)
friend

◆ operator>>

void operator>> ( llvm::StringRef  Str,
SymbolID ID 
)
friend

The documentation for this class was generated from the following files: