Repository navigation
Commit 68d27b7
TASK-038 review cleanup: replace LT_CHECK(true), add comments, rename test
Major fix: replace the no-op `LT_CHECK(true)` in `moved_from_accessors_are_defined`
with `LT_ASSERT_NEQ(SBO::body_ptr(dst), static_cast<body*>(nullptr))` so the test
has a load-bearing assertion that proves the move destination received the body.
Minor fixes applied:
- Remove redundant `(void)sink_*` casts that follow volatile assignments (items 13/14)
- Add comment on `fat_body::kind()` documenting intentional body_kind mismatch (item 2)
- Add comment on `body(std::move(o))` base initializer explaining vptr machinery (item 5)
- Add comment explaining why `static_cast<int>` is required for body_kind comparisons (items 6/7)
- Shorten the accessor duplication explanation to a one-line cross-reference (items 11/12)
- Add clarifying comment on the `SBO` alias (items 18/19)
- Add fixture documentation comment in `move_ctor_file_body_inline` (items 10/17/28)
- Rename `self_move_assign_public_api_safe` -> `move_assign_self_inline_statePreserved` (item 27)
- Condense multi-line CXXFLAGS comment to one-line YAML step comment (items 3/4)
- Update specs/tasks/_index.md Last-updated date to 2026-05-27 (item 20)
- Clarify "(4-case)" wording in TASK-038.md to mean four total pairings (item 25)
- Mark all 28 items in the unworked review issues file (fixed/already-addressed/deferred)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent c9c0c28 commit 68d27b7
5 files changed
Lines changed: 108 additions & 54 deletions
File tree
- .github/workflows
- specs
- tasks
- M6-release
- unworked_review_issues
- test/unit
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
698 | 698 | | |
699 | 699 | | |
700 | 700 | | |
| 701 | + | |
701 | 702 | | |
702 | 703 | | |
703 | | - | |
704 | | - | |
705 | | - | |
706 | | - | |
707 | | - | |
708 | | - | |
709 | 704 | | |
710 | 705 | | |
711 | 706 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
0 commit comments