Skip to content

Commit 67ab269

Browse files
committed
[test] Delete trailing spaces from YAML tests after D65566/r365869
llvm-svn: 365874
1 parent ff6836f commit 67ab269

File tree

2 files changed

+51
-51
lines changed

2 files changed

+51
-51
lines changed

clang-tools-extra/test/clang-include-fixer/merge.test

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# RUN: diff -u %t.golden %t.merged
44
---
55
Name: bar
6-
Contexts:
6+
Contexts:
77
- ContextType: Namespace
88
ContextName: a
99
FilePath: '../include/bar.h'
@@ -13,7 +13,7 @@ Used: 1
1313
...
1414
---
1515
Name: bar
16-
Contexts:
16+
Contexts:
1717
- ContextType: Namespace
1818
ContextName: a
1919
FilePath: '../include/barbar.h'
@@ -23,7 +23,7 @@ Used: 0
2323
...
2424
---
2525
Name: foo
26-
Contexts:
26+
Contexts:
2727
- ContextType: Namespace
2828
ContextName: a
2929
FilePath: foo.h

clang-tools-extra/unittests/clang-doc/YAMLGeneratorTest.cpp

Lines changed: 48 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -45,20 +45,20 @@ TEST(YAMLGeneratorTest, emitNamespaceYAML) {
4545
R"raw(---
4646
USR: '0000000000000000000000000000000000000000'
4747
Name: 'Namespace'
48-
Namespace:
48+
Namespace:
4949
- Type: Namespace
5050
Name: 'A'
51-
ChildNamespaces:
51+
ChildNamespaces:
5252
- Type: Namespace
5353
Name: 'ChildNamespace'
54-
ChildRecords:
54+
ChildRecords:
5555
- Type: Record
5656
Name: 'ChildStruct'
57-
ChildFunctions:
57+
ChildFunctions:
5858
- USR: '0000000000000000000000000000000000000000'
5959
Name: 'OneFunction'
6060
ReturnType: {}
61-
ChildEnums:
61+
ChildEnums:
6262
- USR: '0000000000000000000000000000000000000000'
6363
Name: 'OneEnum'
6464
...
@@ -95,35 +95,35 @@ TEST(YAMLGeneratorTest, emitRecordYAML) {
9595
R"raw(---
9696
USR: '0000000000000000000000000000000000000000'
9797
Name: 'r'
98-
Namespace:
98+
Namespace:
9999
- Type: Namespace
100100
Name: 'A'
101-
DefLocation:
101+
DefLocation:
102102
LineNumber: 10
103103
Filename: 'test.cpp'
104-
Location:
104+
Location:
105105
- LineNumber: 12
106106
Filename: 'test.cpp'
107107
TagType: Class
108-
Members:
109-
- Type:
108+
Members:
109+
- Type:
110110
Name: 'int'
111111
Name: 'X'
112112
Access: Private
113-
Parents:
113+
Parents:
114114
- Type: Record
115115
Name: 'F'
116-
VirtualParents:
116+
VirtualParents:
117117
- Type: Record
118118
Name: 'G'
119-
ChildRecords:
119+
ChildRecords:
120120
- Type: Record
121121
Name: 'ChildStruct'
122-
ChildFunctions:
122+
ChildFunctions:
123123
- USR: '0000000000000000000000000000000000000000'
124124
Name: 'OneFunction'
125125
ReturnType: {}
126-
ChildEnums:
126+
ChildEnums:
127127
- USR: '0000000000000000000000000000000000000000'
128128
Name: 'OneEnum'
129129
...
@@ -154,25 +154,25 @@ TEST(YAMLGeneratorTest, emitFunctionYAML) {
154154
R"raw(---
155155
USR: '0000000000000000000000000000000000000000'
156156
Name: 'f'
157-
Namespace:
157+
Namespace:
158158
- Type: Namespace
159159
Name: 'A'
160-
DefLocation:
160+
DefLocation:
161161
LineNumber: 10
162162
Filename: 'test.cpp'
163-
Location:
163+
Location:
164164
- LineNumber: 12
165165
Filename: 'test.cpp'
166166
IsMethod: true
167-
Parent:
167+
Parent:
168168
Type: Record
169169
Name: 'Parent'
170-
Params:
171-
- Type:
170+
Params:
171+
- Type:
172172
Name: 'int'
173173
Name: 'P'
174-
ReturnType:
175-
Type:
174+
ReturnType:
175+
Type:
176176
Name: 'void'
177177
...
178178
)raw";
@@ -200,17 +200,17 @@ TEST(YAMLGeneratorTest, emitEnumYAML) {
200200
R"raw(---
201201
USR: '0000000000000000000000000000000000000000'
202202
Name: 'e'
203-
Namespace:
203+
Namespace:
204204
- Type: Namespace
205205
Name: 'A'
206-
DefLocation:
206+
DefLocation:
207207
LineNumber: 10
208208
Filename: 'test.cpp'
209-
Location:
209+
Location:
210210
- LineNumber: 12
211211
Filename: 'test.cpp'
212212
Scoped: true
213-
Members:
213+
Members:
214214
- 'X'
215215
...
216216
)raw";
@@ -337,31 +337,31 @@ TEST(YAMLGeneratorTest, emitCommentYAML) {
337337
R"raw(---
338338
USR: '0000000000000000000000000000000000000000'
339339
Name: 'f'
340-
Description:
340+
Description:
341341
- Kind: 'FullComment'
342-
Children:
342+
Children:
343343
- Kind: 'ParagraphComment'
344-
Children:
344+
Children:
345345
- Kind: 'TextComment'
346346
- Kind: 'ParagraphComment'
347-
Children:
347+
Children:
348348
- Kind: 'TextComment'
349349
Text: ' Brief description.'
350350
Name: 'ParagraphComment'
351351
- Kind: 'ParagraphComment'
352-
Children:
352+
Children:
353353
- Kind: 'TextComment'
354354
Text: ' Extended description that'
355355
- Kind: 'TextComment'
356356
Text: ' continues onto the next line.'
357357
- Kind: 'ParagraphComment'
358-
Children:
358+
Children:
359359
- Kind: 'TextComment'
360360
- Kind: 'HTMLStartTagComment'
361361
Name: 'ul'
362-
AttrKeys:
362+
AttrKeys:
363363
- 'class'
364-
AttrValues:
364+
AttrValues:
365365
- 'test'
366366
- Kind: 'HTMLStartTagComment'
367367
Name: 'li'
@@ -373,48 +373,48 @@ Name: 'f'
373373
- Kind: 'VerbatimBlockComment'
374374
Name: 'verbatim'
375375
CloseName: 'endverbatim'
376-
Children:
376+
Children:
377377
- Kind: 'VerbatimBlockLineComment'
378378
Text: ' The description continues.'
379379
- Kind: 'ParamCommandComment'
380380
Direction: '[out]'
381381
ParamName: 'I'
382382
Explicit: true
383-
Children:
383+
Children:
384384
- Kind: 'ParagraphComment'
385-
Children:
385+
Children:
386386
- Kind: 'TextComment'
387387
- Kind: 'TextComment'
388388
Text: ' is a parameter.'
389389
- Kind: 'ParamCommandComment'
390390
Direction: '[in]'
391391
ParamName: 'J'
392-
Children:
392+
Children:
393393
- Kind: 'ParagraphComment'
394-
Children:
394+
Children:
395395
- Kind: 'TextComment'
396396
Text: ' is a parameter.'
397397
- Kind: 'TextComment'
398398
- Kind: 'BlockCommandComment'
399399
Name: 'return'
400400
Explicit: true
401-
Children:
401+
Children:
402402
- Kind: 'ParagraphComment'
403-
Children:
403+
Children:
404404
- Kind: 'TextComment'
405405
Text: 'void'
406-
DefLocation:
406+
DefLocation:
407407
LineNumber: 10
408408
Filename: 'test.cpp'
409-
Params:
410-
- Type:
409+
Params:
410+
- Type:
411411
Name: 'int'
412412
Name: 'I'
413-
- Type:
413+
- Type:
414414
Name: 'int'
415415
Name: 'J'
416-
ReturnType:
417-
Type:
416+
ReturnType:
417+
Type:
418418
Name: 'void'
419419
...
420420
)raw";

0 commit comments

Comments
 (0)