23 #ifndef LLVM_CLANG_TOOLS_EXTRA_CLANGD_INDEX_STDLIB_H
24 #define LLVM_CLANG_TOOLS_EXTRA_CLANGD_INDEX_STDLIB_H
28 #include "llvm/ADT/StringRef.h"
33 class CompilerInvocation;
46 llvm::SmallVector<std::string>
Paths;
58 std::atomic<int> Best[2] = {{-1}, {-1}};
70 std::optional<StdLibLocation>
add(
const LangOptions &,
const HeaderSearch &);
86 bool isBest(
const LangOptions &)
const;
100 std::unique_ptr<CompilerInvocation>
CI,
111 #endif // LLVM_CLANG_TOOLS_EXTRA_CLANGD_INDEX_STDLIB_H