LLVM
15.0.0git
|
YAML with a string table to Remark parser. More...
#include "Remarks/YAMLRemarkParser.h"
Public Member Functions | |
YAMLStrTabRemarkParser (StringRef Buf, ParsedStringTable StrTab) | |
![]() | |
YAMLRemarkParser (StringRef Buf) | |
Expected< std::unique_ptr< Remark > > | next () override |
If no error occurs, this returns a valid Remark object. More... | |
![]() | |
RemarkParser (Format ParserFormat) | |
virtual | ~RemarkParser ()=default |
Static Public Member Functions | |
static bool | classof (const RemarkParser *P) |
![]() | |
static bool | classof (const RemarkParser *P) |
Additional Inherited Members | |
![]() | |
Optional< ParsedStringTable > | StrTab |
The string table used for parsing strings. More... | |
std::string | LastErrorMessage |
Last error message that can come from the YAML parser diagnostics. More... | |
SourceMgr | SM |
Source manager for better error messages. More... | |
yaml::Stream | Stream |
Stream for yaml parsing. More... | |
yaml::document_iterator | YAMLIt |
Iterator in the YAML stream. More... | |
std::unique_ptr< MemoryBuffer > | SeparateBuf |
If we parse remark metadata in separate mode, we need to open a new file and parse that. More... | |
![]() | |
Format | ParserFormat |
The format of the parser. More... | |
std::string | ExternalFilePrependPath |
Path to prepend when opening an external remark file. More... | |
YAML with a string table to Remark parser.
Definition at line 97 of file YAMLRemarkParser.h.
|
inline |
Definition at line 98 of file YAMLRemarkParser.h.
|
inlinestatic |
Definition at line 101 of file YAMLRemarkParser.h.
References P, and llvm::remarks::YAMLStrTab.
|
overrideprotectedvirtual |
Parse one value to a string.
Reimplemented from llvm::remarks::YAMLRemarkParser.
Definition at line 429 of file YAMLRemarkParser.cpp.