10#include "clang/Basic/Version.h"
11#include "llvm/Support/Compiler.h"
12#include "llvm/TargetParser/Host.h"
17std::string
versionString() {
return clang::getClangToolFullVersion(
"clangd"); }
20 static std::string PlatformString = []() {
21 std::string Host = llvm::sys::getProcessTriple();
22 std::string Target = llvm::sys::getDefaultTargetTriple();
29 return PlatformString;
36#elif defined(__APPLE__)
38#elif defined(__linux__)
40#elif defined(LLVM_ON_UNIX)
49#if LLVM_ADDRESS_SANITIZER_BUILD
52#if LLVM_THREAD_SANITIZER_BUILD
55#if LLVM_MEMORY_SANITIZER_BUILD
59#if CLANGD_ENABLE_REMOTE
66#if !CLANGD_TIDY_CHECKS
70#if !CLANGD_DECISION_FOREST
std::string platformString()
std::string featureString()
std::string versionString()
===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//