File tree 2 files changed +25
-4
lines changed
2 files changed +25
-4
lines changed Original file line number Diff line number Diff line change @@ -301,11 +301,20 @@ struct TemplateInfo {
301
301
};
302
302
303
303
// Info for field types.
304
- struct FieldTypeInfo : public TypeInfo {
304
+ struct FieldTypeInfo
305
+ : public TypeInfo
306
+ {
305
307
FieldTypeInfo () = default ;
306
- FieldTypeInfo (const TypeInfo& TI, StringRef Name = StringRef(),
308
+
309
+ FieldTypeInfo (
310
+ TypeInfo const & TI,
311
+ StringRef Name = StringRef(),
307
312
StringRef DefaultValue = StringRef())
308
- : TypeInfo(TI), Name(Name), DefaultValue(DefaultValue) {}
313
+ : TypeInfo(TI)
314
+ , Name(Name)
315
+ , DefaultValue(DefaultValue)
316
+ {
317
+ }
309
318
310
319
bool operator ==(const FieldTypeInfo& Other) const {
311
320
return std::tie (Type, Name, DefaultValue) ==
Original file line number Diff line number Diff line change @@ -182,6 +182,10 @@ class XMLGenerator
182
182
183
183
// --------------------------------------------
184
184
185
+ void write (FieldTypeInfo const & I);
186
+
187
+ // --------------------------------------------
188
+
185
189
void writeInfoPart (Info const & I);
186
190
void writeNamespaceList (llvm::SmallVector<Reference, 4 > const & v);
187
191
void writeRef (Reference const & ref);
@@ -412,7 +416,6 @@ writeFunction(
412
416
writeTagLine (" return" ,
413
417
// I.ReturnType.Type.Name, {
414
418
I.ReturnType .Type .QualName , {
415
- // { "usr", toString(I.ReturnType.Type.USR) }
416
419
{ " usr" , toString (I.ReturnType .Type .USR ) }
417
420
});
418
421
// writeRef(I.ReturnType.Type);
@@ -491,6 +494,15 @@ writeTypedef(
491
494
492
495
// ------------------------------------------------
493
496
497
+ void
498
+ XMLGenerator::
499
+ write (
500
+ FieldTypeInfo const & I)
501
+ {
502
+ }
503
+
504
+ // ------------------------------------------------
505
+
494
506
void
495
507
XMLGenerator::
496
508
writeInfoPart (
You can’t perform that action at this time.
0 commit comments