LLVM  9.0.0svn
Functions
OptRemarksParser.cpp File Reference
#include "llvm-c/OptRemarks.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/Support/SourceMgr.h"
#include "llvm/Support/YAMLTraits.h"
Include dependency graph for OptRemarksParser.cpp:

Go to the source code of this file.

Functions

LLVMOptRemarkParserRef LLVMOptRemarkParserCreate (const void *Buf, uint64_t Size)
 Creates a remark parser that can be used to read and parse the buffer located in Buf of size Size. More...
 
LLVMOptRemarkEntryLLVMOptRemarkParserGetNext (LLVMOptRemarkParserRef Parser)
 Returns the next remark in the file. More...
 
LLVMBool LLVMOptRemarkParserHasError (LLVMOptRemarkParserRef Parser)
 Returns 1 if the parser encountered an error while parsing the buffer. More...
 
const charLLVMOptRemarkParserGetErrorMessage (LLVMOptRemarkParserRef Parser)
 Returns a null-terminated string containing an error message. More...
 
void LLVMOptRemarkParserDispose (LLVMOptRemarkParserRef Parser)
 Releases all the resources used by Parser. More...