LLVM  9.0.0svn
Functions
YAMLRemarkParser.cpp File Reference
#include "YAMLRemarkParser.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/Remarks/RemarkParser.h"
Include dependency graph for YAMLRemarkParser.cpp:

Go to the source code of this file.

Functions

static void handleDiagnostic (const SMDiagnostic &Diag, void *Ctx)
 
static SourceMgr setupSM (std::string &LastErrorMessage)
 

Function Documentation

◆ handleDiagnostic()

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

Definition at line 23 of file YAMLRemarkParser.cpp.

References assert(), and llvm::SMDiagnostic::print().

Referenced by setupSM().

◆ setupSM()

static SourceMgr setupSM ( std::string &  LastErrorMessage)
static