#include "clang/Basic/Builtins.h"
#include "BuiltinTargetFeatures.h"
#include "clang/Basic/IdentifierTable.h"
#include "clang/Basic/LangOptions.h"
#include "clang/Basic/TargetInfo.h"
#include "llvm/ADT/StringRef.h"
usingnamespaceclang;
const char *HeaderDesc::getName() const { … }
static constexpr Builtin::Info BuiltinInfo[] = …;
const Builtin::Info &Builtin::Context::getRecord(unsigned ID) const { … }
void Builtin::Context::InitializeTarget(const TargetInfo &Target,
const TargetInfo *AuxTarget) { … }
bool Builtin::Context::isBuiltinFunc(llvm::StringRef FuncName) { … }
static bool builtinIsSupported(const Builtin::Info &BuiltinInfo,
const LangOptions &LangOpts) { … }
void Builtin::Context::initializeBuiltins(IdentifierTable &Table,
const LangOptions& LangOpts) { … }
unsigned Builtin::Context::getRequiredVectorWidth(unsigned ID) const { … }
bool Builtin::Context::isLike(unsigned ID, unsigned &FormatIdx,
bool &HasVAListArg, const char *Fmt) const { … }
bool Builtin::Context::isPrintfLike(unsigned ID, unsigned &FormatIdx,
bool &HasVAListArg) { … }
bool Builtin::Context::isScanfLike(unsigned ID, unsigned &FormatIdx,
bool &HasVAListArg) { … }
bool Builtin::Context::performsCallback(unsigned ID,
SmallVectorImpl<int> &Encoding) const { … }
bool Builtin::Context::canBeRedeclared(unsigned ID) const { … }
bool Builtin::evaluateRequiredTargetFeatures(
StringRef RequiredFeatures, const llvm::StringMap<bool> &TargetFetureMap) { … }