LLVM: lib/Remarks/YAMLRemarkParser.h Source File (original) (raw)

Go to the documentation of this file.

1

2

3

4

5

6

7

8

9

10

11

12

13#ifndef LLVM_REMARKS_YAML_REMARK_PARSER_H

14#define LLVM_REMARKS_YAML_REMARK_PARSER_H

15

23#include

24#include

25

26namespace llvm {

28

30public:

31 static char ID;

32

35

37

42

43private:

44 std::string Message;

45};

46

47

49

50

52

54

56

58

59

61

63

65

69

70protected:

71

72

73

75

77

79

81

83

85

87

89

91};

92

95 std::optional ExternalFilePrependPath = std::nullopt);

96

97}

98}

99

100#endif

Base class for user error types.

Lightweight error class with error context and mandatory checking.

Tagged union holding either a T or a Error.

This owns the files read by a parser, handles include stacks, and handles diagnostic wrangling.

StringRef - Represent a constant reference to a string, i.e.

This class implements an extremely fast bulk output stream that can only output to a stream.

A YAML Stream is a sequence of Documents.

Represents a YAML map created from either a block map for a flow map.

Abstract base class for all Nodes.

This class represents a YAML stream potentially containing multiple documents.

Iterator abstraction for Documents over a Stream.

This is an optimization pass for GlobalISel generic memory operations.

LLVM_ABI std::error_code inconvertibleErrorCode()

The value returned by this function can be returned from convertToErrorCode for Error values where no...

Implement std::hash so that hash_code can be used in STL containers.