#include "clang/Tooling/Inclusions/StandardLibrary.h"
#include "clang/AST/Decl.h"
#include "clang/Basic/LangOptions.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/DenseSet.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Casting.h"
#include <optional>
namespace clang {
namespace tooling {
namespace stdlib {
namespace {
NSSymbolMap;
struct SymbolHeaderMapping { … };
}
static SymbolHeaderMapping
*LanguageMappings[static_cast<unsigned>(Lang::LastValue) + 1];
static const SymbolHeaderMapping *getMappingPerLang(Lang L) { … }
static int countSymbols(Lang Language) { … }
static int initialize(Lang Language) { … }
static void ensureInitialized() { … }
std::vector<Header> Header::all(Lang L) { … }
std::optional<Header> Header::named(llvm::StringRef Name, Lang L) { … }
llvm::StringRef Header::name() const { … }
std::vector<Symbol> Symbol::all(Lang L) { … }
llvm::StringRef Symbol::scope() const { … }
llvm::StringRef Symbol::name() const { … }
llvm::StringRef Symbol::qualifiedName() const { … }
std::optional<Symbol> Symbol::named(llvm::StringRef Scope, llvm::StringRef Name,
Lang L) { … }
std::optional<Header> Symbol::header() const { … }
llvm::SmallVector<Header> Symbol::headers() const { … }
Recognizer::Recognizer() { … }
NSSymbolMap *Recognizer::namespaceSymbols(const DeclContext *DC, Lang L) { … }
std::optional<Symbol> Recognizer::operator()(const Decl *D) { … }
}
}
}