Repository navigation
Commit 535409f
committed
Rename the unicode files to match UnicodeTranscoder (#25)
Follow-up to the class rename, keeping the one-file-per-class naming the
rest of src/ uses (string_utilities.cc holds StringUtilities).
- src/internal/unicode.h -> src/internal/unicode_transcoder.h
- src/unicode.cc -> src/unicode_transcoder.cc
- tests/unicode_test.cc -> tests/unicode_transcoder_test.cc
The three includes and one comment reference follow. Both CMakeLists
collect sources by glob, so neither needed an edit.
The gtest suite names are deliberately left alone: UnicodeCoreTest
exercises the transcoder directly, but UnicodeTest goes through
StringUtilities::ToUtf8/FromUtf8, so naming it after the class would
describe the wrong unit.
Verified locally on Linux GCC at C++11 and C++20, both configured from
scratch so the globs were re-evaluated: 124/124 tests pass in both,
clang-format clean on the changed files.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YLXHcZjrnrdhRZAgqDh6kd1 parent 1fd1d8b commit 535409f
4 files changed
Lines changed: 4 additions & 4 deletions
File tree
- src
- internal
- tests
File renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
0 commit comments