clang-tools 20.0.0git
|
Functions | |
const char * | debugType (const char *Filename) |
void | logImpl (Logger::Level, const char *Fmt, const llvm::formatv_object_base &) |
template<typename T > | |
T && | wrap (T &&V) |
decltype(fmt_consume(llvm::Error::success())) | wrap (llvm::Error &&V) |
template<typename... Ts> | |
void | log (Logger::Level L, const char *Fmt, Ts &&... Vals) |
llvm::Error | error (std::error_code, std::string &&) |
const char * clang::clangd::detail::debugType | ( | const char * | Filename | ) |
Definition at line 42 of file Logger.cpp.
References Filename.
llvm::Error clang::clangd::detail::error | ( | std::error_code | EC, |
std::string && | Msg | ||
) |
Definition at line 80 of file Logger.cpp.
Referenced by clang::clangd::error().
void clang::clangd::detail::log | ( | Logger::Level | L, |
const char * | Fmt, | ||
Ts &&... | Vals | ||
) |
Definition at line 47 of file Logger.h.
References logImpl(), and wrap().
Referenced by clang::clangd::elog(), clang::clangd::log(), and clang::clangd::vlog().
void clang::clangd::detail::logImpl | ( | Logger::Level | Level, |
const char * | Fmt, | ||
const llvm::formatv_object_base & | Message | ||
) |
Definition at line 31 of file Logger.cpp.
References clang::clangd::Logger::log().
Referenced by log().
|
inline |
T && clang::clangd::detail::wrap | ( | T && | V | ) |
Definition at line 42 of file Logger.h.
Referenced by clang::clangd::error(), and log().