Commit 398efdc
committed
[ASTDumper] Remove
Conditionalizing logic based on the exact output stream is brittle
since e.g the client may be writing to an intermediate buffer before
forwarding onto the output. For the ASTDumper itself, the client
already passes whether or not it expects a fully semantic dump, use
that instead. For `printContext`, the only client relying on this
was some `ResolvedRangeInfo` tests, but these don't actually care
about the computed discriminator, adjust the tests to not care.hasNonStandardOutput
1 parent 22f1105 commit 398efdc
2 files changed
+11
-29
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
805 | 805 | | |
806 | 806 | | |
807 | 807 | | |
808 | | - | |
809 | | - | |
810 | 808 | | |
811 | 809 | | |
812 | 810 | | |
| |||
900 | 898 | | |
901 | 899 | | |
902 | 900 | | |
903 | | - | |
904 | | - | |
905 | | - | |
906 | | - | |
907 | 901 | | |
908 | 902 | | |
909 | 903 | | |
| |||
1014 | 1008 | | |
1015 | 1009 | | |
1016 | 1010 | | |
1017 | | - | |
1018 | | - | |
1019 | 1011 | | |
1020 | 1012 | | |
1021 | 1013 | | |
| |||
1046 | 1038 | | |
1047 | 1039 | | |
1048 | 1040 | | |
1049 | | - | |
1050 | | - | |
1051 | | - | |
1052 | | - | |
1053 | 1041 | | |
1054 | 1042 | | |
1055 | 1043 | | |
| |||
3015 | 3003 | | |
3016 | 3004 | | |
3017 | 3005 | | |
3018 | | - | |
3019 | | - | |
3020 | | - | |
3021 | | - | |
3022 | | - | |
3023 | 3006 | | |
3024 | 3007 | | |
3025 | 3008 | | |
| |||
4094 | 4077 | | |
4095 | 4078 | | |
4096 | 4079 | | |
4097 | | - | |
4098 | | - | |
| 4080 | + | |
4099 | 4081 | | |
4100 | 4082 | | |
4101 | | - | |
4102 | | - | |
4103 | | - | |
4104 | | - | |
| 4083 | + | |
| 4084 | + | |
| 4085 | + | |
| 4086 | + | |
4105 | 4087 | | |
4106 | | - | |
| 4088 | + | |
4107 | 4089 | | |
4108 | 4090 | | |
4109 | 4091 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
371 | 371 | | |
372 | 372 | | |
373 | 373 | | |
374 | | - | |
| 374 | + | |
375 | 375 | | |
376 | 376 | | |
377 | 377 | | |
| |||
396 | 396 | | |
397 | 397 | | |
398 | 398 | | |
399 | | - | |
| 399 | + | |
400 | 400 | | |
401 | 401 | | |
402 | 402 | | |
| |||
418 | 418 | | |
419 | 419 | | |
420 | 420 | | |
421 | | - | |
| 421 | + | |
422 | 422 | | |
423 | 423 | | |
424 | 424 | | |
| |||
435 | 435 | | |
436 | 436 | | |
437 | 437 | | |
438 | | - | |
| 438 | + | |
439 | 439 | | |
440 | 440 | | |
441 | 441 | | |
| |||
448 | 448 | | |
449 | 449 | | |
450 | 450 | | |
451 | | - | |
| 451 | + | |
452 | 452 | | |
453 | 453 | | |
454 | 454 | | |
| |||
0 commit comments