Commit 1f5d8f5
committed
Bug 1979806 - Allow clang-format for TrackSize::StateBits. r=layout-reviewers,emilio
I feel it is better for `TrackSize::StateBits` be formatted automatically by
`clang-format`.
This patch removes the last `clang-format off` directive in the grid container.
Previously, we removed one for `GridItemInfo::StateBits` in Bug 1878846:
https://hg.mozilla.org/mozilla-central/rev/7829576fd77e
In addition, convert the enum values to `1 << N` style to improve readability.
Differential Revision: https://phabricator.services.mozilla.com/D2589981 parent ba9fd3a commit 1f5d8f5
1 file changed
+17
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
435 | 435 | | |
436 | 436 | | |
437 | 437 | | |
438 | | - | |
439 | | - | |
440 | | - | |
441 | | - | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
442 | 441 | | |
443 | 442 | | |
444 | | - | |
445 | | - | |
446 | | - | |
447 | | - | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
448 | 447 | | |
449 | 448 | | |
450 | | - | |
451 | | - | |
452 | | - | |
453 | | - | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
454 | 453 | | |
455 | | - | |
456 | | - | |
457 | | - | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
458 | 457 | | |
459 | 458 | | |
460 | 459 | | |
461 | 460 | | |
462 | 461 | | |
463 | 462 | | |
464 | | - | |
| 463 | + | |
465 | 464 | | |
466 | | - | |
| 465 | + | |
467 | 466 | | |
468 | | - | |
469 | | - | |
| 467 | + | |
470 | 468 | | |
471 | 469 | | |
472 | 470 | | |
| |||
0 commit comments