Repository navigation
Reorganize repository, add CI and presets, fix Type assignment use-after-free - #1
Merged
Merged
Conversation
…ter-free - Add CMakePresets.json, GitHub Actions CI, issue/PR templates, CONTRIBUTING, .editorconfig and .gitattributes - Move ARCHITECTURE.md and BUILD.md to docs/; move test registration into tests/CMakeLists.txt - Add UINX_WARNINGS_AS_ERRORS and UINX_ENABLE_SANITIZERS options - Remove stale MANIFEST.sha256 (35 of 159 entries no longer matched) and the checked-in verification transcripts that contradicted their own README - Fix heap-use-after-free in Type::operator= when assigning from an owned pointee (found by ASan), and a -Wconversion warning in codegen - Apply clang-format to files that had drifted Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018uUuRXQcBduAQvVUcJYkWz
JiTianYu391
pushed a commit
that referenced
this pull request
Oct 20, 2026
# Conflicts: # CHANGELOG.md # src/codegen.cpp # src/mir.cpp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Repository hygiene to match mainstream C++/CMake project conventions, plus one real compiler bug found along the way.
MANIFEST.sha256(35 of 159 entries no longer matched) and the checked-inverification/transcripts, which contradicted their own README.ARCHITECTURE.md,BUILD.mdtodocs/; README doc table updated.CMakePresets.json(debug/release/ci/asan/fuzz), GitHub Actions CI (GCC, Clang, ASan+UBSan, clang-format), issue/PR templates,CONTRIBUTING.md,.editorconfig,.gitattributes, fuller.gitignore.tests/CMakeLists.txt; newUINX_WARNINGS_AS_ERRORSandUINX_ENABLE_SANITIZERSoptions (sanitizers apply to C++ only, so the C runtime linked intouinxcoutput stays unsanitized).uinx::Type::operator=when assigning from an owned pointee (t = *t.pointee, 12 call sites), found by ASan; a-Wconversionwarning incodegen.cppthat broke-Werror.clang-formatapplied to 3 drifted files.Checklist
cmake --preset ci && cmake --build --preset ci && ctest --preset cipasses locally (GCC 13, 20/20)asanpreset passes locally (20/20; failed before theTypefix)clang-formatis clean (format-check)CHANGELOG.mdGenerated by Claude Code