LLVM 22.0.0git
YAMLRemarkParser.cpp File Reference
#include "YAMLRemarkParser.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/Support/Endian.h"
#include "llvm/Support/Path.h"
#include <optional>

Go to the source code of this file.

Functions

static void handleDiagnostic (const SMDiagnostic &Diag, void *Ctx)
static SourceMgr setupSM (std::string &LastErrorMessage)
static Expected< boolparseMagic (StringRef &Buf)
static Expected< uint64_tparseVersion (StringRef &Buf)
static Expected< uint64_tparseStrTabSize (StringRef &Buf)

Function Documentation

◆ handleDiagnostic()

void handleDiagnostic ( const SMDiagnostic & Diag,
void * Ctx )
static

◆ parseMagic()

◆ parseStrTabSize()

◆ parseVersion()

◆ setupSM()

SourceMgr setupSM ( std::string & LastErrorMessage)
static