#include "TableGenBackends.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/TableGen/Error.h"
#include "llvm/TableGen/Record.h"
#include "llvm/TableGen/TableGenBackend.h"
#include <map>
#include <string>
usingnamespacellvm;
static std::string getPackageFullName(const Record *R, StringRef Sep = ".");
static std::string getParentPackageFullName(const Record *R,
StringRef Sep = ".") { … }
static std::string getPackageFullName(const Record *R, StringRef Sep) { … }
static std::string getCheckerFullName(const Record *R, StringRef Sep = ".") { … }
static std::string getStringValue(const Record &R, StringRef field) { … }
static inline uint64_t getValueFromBitsInit(const BitsInit *B, const Record &R) { … }
static std::string getCheckerDocs(const Record &R) { … }
static std::string getCheckerOptionType(const Record &R) { … }
static std::string getDevelopmentStage(const Record &R) { … }
static bool isHidden(const Record *R) { … }
static void printChecker(raw_ostream &OS, const Record &R) { … }
static void printOption(raw_ostream &OS, StringRef FullName, const Record &R) { … }
void clang::EmitClangSACheckers(const RecordKeeper &Records, raw_ostream &OS) { … }