@@ -16,7 +16,7 @@ using llvm::yaml::Input;
16
16
using llvm::yaml::IO;
17
17
using llvm::yaml::MappingTraits;
18
18
19
- template <> struct MappingTraits <RegisterNameAndValue> {
19
+ template <> struct llvm ::yaml:: MappingTraits<RegisterNameAndValue> {
20
20
static void mapping (IO &io, RegisterNameAndValue &name_value) {
21
21
io.mapRequired (" name" , name_value.name );
22
22
io.mapRequired (" value" , name_value.value );
@@ -32,22 +32,22 @@ template <> struct llvm::yaml::ScalarEnumerationTraits<RegisterFlavor> {
32
32
}
33
33
};
34
34
35
- template <> struct MappingTraits <RegisterSet> {
35
+ template <> struct llvm ::yaml:: MappingTraits<RegisterSet> {
36
36
static void mapping (IO &io, RegisterSet ®set) {
37
37
io.mapRequired (" flavor" , regset.flavor );
38
38
io.mapRequired (" registers" , regset.registers );
39
39
}
40
40
};
41
41
LLVM_YAML_IS_SEQUENCE_VECTOR (RegisterSet)
42
42
43
- template <> struct MappingTraits<Thread> {
43
+ template <> struct llvm::yaml:: MappingTraits<Thread> {
44
44
static void mapping (IO &io, Thread &thread) {
45
45
io.mapRequired (" regsets" , thread.regsets );
46
46
}
47
47
};
48
48
LLVM_YAML_IS_SEQUENCE_VECTOR (Thread)
49
49
50
- template <> struct MappingTraits<MemoryRegion> {
50
+ template <> struct llvm::yaml:: MappingTraits<MemoryRegion> {
51
51
static void mapping (IO &io, MemoryRegion &memory) {
52
52
io.mapRequired (" addr" , memory.addr );
53
53
io.mapOptional (" UInt8" , memory.bytes );
@@ -68,7 +68,7 @@ template <> struct MappingTraits<MemoryRegion> {
68
68
};
69
69
LLVM_YAML_IS_SEQUENCE_VECTOR (MemoryRegion)
70
70
71
- template <> struct MappingTraits<Binary> {
71
+ template <> struct llvm::yaml:: MappingTraits<Binary> {
72
72
static void mapping (IO &io, Binary &binary) {
73
73
io.mapOptional (" name" , binary.name );
74
74
io.mapRequired (" uuid" , binary.uuid );
@@ -105,7 +105,7 @@ template <> struct llvm::yaml::MappingTraits<AddressableBits> {
105
105
}
106
106
};
107
107
108
- template <> struct MappingTraits <CoreSpec> {
108
+ template <> struct llvm ::yaml:: MappingTraits<CoreSpec> {
109
109
static void mapping (IO &io, CoreSpec &corespec) {
110
110
std::string cpuname;
111
111
io.mapRequired (" cpu" , cpuname);
0 commit comments