clang: include/clang/AST/ASTDumperUtils.h Source File (original) (raw)

1

2

3

4

5

6

7

8

9

10

11

12

13#ifndef LLVM_CLANG_AST_ASTDUMPERUTILS_H

14#define LLVM_CLANG_AST_ASTDUMPERUTILS_H

15

16#include "llvm/Support/raw_ostream.h"

17

19

20

25

26

27

28

30 llvm::raw_ostream::Colors Color;

32};

33

34

35

36

37

38

39

40

41

42

43

44

46

48

50

52

53

55

56

58

60

61

63

65

67

68

70

71

73 true};

74

75

77

78

80

82

83

85

87 llvm::raw_ostream &OS;

88 const bool ShowColors;

89

90public:

94 OS.changeColor(Color.Color, Color.Bold);

95 }

98 OS.resetColor();

99 }

100};

101

102}

103

104#endif

ColorScope(llvm::raw_ostream &OS, bool ShowColors, TerminalColor Color)

The JSON file list parser is used to communicate input to InstallAPI.

static const TerminalColor NullColor

static const TerminalColor ErrorsColor

static const TerminalColor CommentColor

ASTDumpOutputFormat

Used to specify the format for printing AST dump information.

static const TerminalColor DeclNameColor

static const TerminalColor AddressColor

static const TerminalColor IndentColor

static const TerminalColor StmtColor

static const TerminalColor UndeserializedColor

static const TerminalColor DeclKindNameColor

static const TerminalColor LocationColor

static const TerminalColor ValueKindColor

static const TerminalColor CastColor

static const TerminalColor AttrColor

static const TerminalColor TypeColor

static const TerminalColor ValueColor

static const TerminalColor ObjectKindColor

llvm::raw_ostream::Colors Color