Repository navigation
Commit 8e85673
committed
fix: the spell check's findings, and the words this project writes on purpose
The CI's `typos` job reported 50-odd words; the ones that were typos are fixed, and the ones that are not are in
`typos.toml` with the reason beside them.
**Fixed** — fifteen test names, where `classs` was a possessive written without the apostrophe
(`a_classs_member_list…` → `a_class_member_list…`, `…the_enclosing_classs` → `…the_enclosing_class`), and the same
mistake in `librarys` → `library`, `entrys` → `entries`, `entitys` → `entity`, `whos` → `whose`; four `unparseable` →
`unparsable`, five `summar(ies)` → `summary(ies)`, and two `ype_traits` → `type_traits` in comments quoting a compiler
message (the path is truncated there, and the file is `type_traits`).
**Allowed, because the token is not English**:
* `mis-…` — hyphenated compounds the checker wants to respell as `miss` (`mis-nesting`, `mis-paired`, `mis-served`);
* `-Iinclude`, `/Fo`, `PARM` in `_GLIBCXX_NOEXCEPT_PARM`, `_S_nd`, `SEH`/`seh`, `__gam1` — compiler and tool
spellings quoted verbatim from real output, where "fixing" them would make the evidence wrong;
* `thr` (a CUDA completion prefix, mid-word), `forr` (a snippet trigger), `aanotherVec` (the wrong completion a test
asserts about), `__reversable` (a concept a fixture declares);
* `IndentWidht`, `exlude`, `standrad` — misspellings that are the *subject* of tests, which assert the error message
quotes the bad key back.
`cargo check --workspace --all-targets` and `cpp_code_analysis`'s suites are green; the renamed tests are the same
tests.1 parent 6e1629c commit 8e85673
23 files changed
Lines changed: 48 additions & 27 deletions
File tree
- crates
- cpp_code_analysis
- src
- file
- include
- index
- session
- tests
- cpp_ls/src/handlers
- document_highlight
- initialized
- references
- cpp_parser
- src/grammar/cpp
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
546 | 546 | | |
547 | 547 | | |
548 | 548 | | |
549 | | - | |
| 549 | + | |
550 | 550 | | |
551 | 551 | | |
552 | 552 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1395 | 1395 | | |
1396 | 1396 | | |
1397 | 1397 | | |
1398 | | - | |
| 1398 | + | |
1399 | 1399 | | |
1400 | 1400 | | |
1401 | 1401 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14410 | 14410 | | |
14411 | 14411 | | |
14412 | 14412 | | |
14413 | | - | |
| 14413 | + | |
14414 | 14414 | | |
14415 | 14415 | | |
14416 | 14416 | | |
| |||
15983 | 15983 | | |
15984 | 15984 | | |
15985 | 15985 | | |
15986 | | - | |
| 15986 | + | |
15987 | 15987 | | |
15988 | 15988 | | |
15989 | 15989 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
877 | 877 | | |
878 | 878 | | |
879 | 879 | | |
880 | | - | |
| 880 | + | |
881 | 881 | | |
882 | 882 | | |
883 | 883 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3442 | 3442 | | |
3443 | 3443 | | |
3444 | 3444 | | |
3445 | | - | |
| 3445 | + | |
3446 | 3446 | | |
3447 | 3447 | | |
3448 | 3448 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1843 | 1843 | | |
1844 | 1844 | | |
1845 | 1845 | | |
1846 | | - | |
| 1846 | + | |
1847 | 1847 | | |
1848 | 1848 | | |
1849 | 1849 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
| 154 | + | |
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
0 commit comments