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"
33class 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,
std::unique_ptr< CompilerInvocation > CI
std::optional< StdLibLocation > add(const LangOptions &, const HeaderSearch &)
bool isBest(const LangOptions &) const
An immutable symbol container that stores a set of symbols.
Wrapper for vfs::FileSystem for use in multithreaded programs like clangd.
llvm::StringRef getStdlibUmbrellaHeader(const LangOptions &LO)
SymbolSlab indexStandardLibrary(llvm::StringRef HeaderSources, std::unique_ptr< CompilerInvocation > CI, const StdLibLocation &Loc, const ThreadsafeFS &TFS)
===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
llvm::SmallVector< std::string > Paths