clang-tools
7.0.0
|
#include <Protocol.h>
Public Member Functions | |
URIForFile ()=default | |
URIForFile (std::string AbsPath) | |
llvm::StringRef | file () const |
Retrieves absolute path to the file. More... | |
operator bool () const | |
std::string | uri () const |
Friends | |
bool | operator== (const URIForFile &LHS, const URIForFile &RHS) |
bool | operator!= (const URIForFile &LHS, const URIForFile &RHS) |
bool | operator< (const URIForFile &LHS, const URIForFile &RHS) |
Definition at line 52 of file Protocol.h.
|
default |
|
explicit |
Definition at line 28 of file Protocol.cpp.
References clang::clangd::File.
|
inline |
Retrieves absolute path to the file.
Definition at line 57 of file Protocol.h.
References clang::clangd::File.
|
inlineexplicit |
Definition at line 59 of file Protocol.h.
References clang::clangd::File.
|
inline |
Definition at line 60 of file Protocol.h.
References clang::clangd::URI::createFile(), clang::clangd::File, and clang::clangd::URI::toString().
Referenced by clang::clangd::operator<<(), and clang::clangd::toJSON().
|
friend |
Definition at line 66 of file Protocol.h.
|
friend |
Definition at line 70 of file Protocol.h.
|
friend |
Definition at line 62 of file Protocol.h.