[qt/clang/llvm]: Summary of bulk changes made
KDE Git Services - Bulk Change <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git repository change summary for qt/clang/llvm Pushed by mirror-service into branch 'upstream/users/arichardson/spr/riscv-select-the-capability-abi-by-default-when-the-y-extension-is-enabled'. Changed from 0000000000000000000000000000000000000000 to 586a5ba0d37cfb0ab17113c64e20be867fc18323 Acknowledgement was received that this change introduces only existing code that has been pushed to another public open source repository. This change contains the following new commits: Git commit e89830da7f4e6656b9ff54ea7695c31435a53ee4 by GitHub (on behalf of eoineoineoin) on 01/08/2026 at 05:22.. Add option to format a whole file using git-clang-format (#204336) Today, git-clang-format will only format lines which have been modified. However, in some cases, that's not sufficient to get a "clean" file which would be unmodified by running `clang-format` manually. I've got a minimal repro using the default clang-format rules. Setup a new git repository and create a commit with an empty file: ``` mkdir /tmp/bla cd /tmp/bla git init touch t.cpp git add t.cpp git commit -m "V1" ``` Add a line to that file containing a comment: ``` echo "int x = 0; // Comment describing x" > t.cpp git add t.cpp git clang-format --staged # Reports "clang-format did not modify any files" git commit -m "V2" ``` There's nothing wrong with this file yet, and it's working as expected. Problem arises when we add a new line with a comment which is not aligned with the comment we've already added: ``` echo "int longerThanX = 0; // Should cause above to become aligned" >> t.cpp git add t.cpp git clang-format --staged # Reports "clang-format did not modify any files" ``` git-clang-format didn't change the staged file here as it's only inspecting the modified lines, but according to the default formatting rules, this new line actually has an effect on the preceding line. i.e., if you run `clang-format t.cpp`, you'll see that whitespace is added before the "Comment describing x" to align with the "Should cause..." It's not limited to _just_ the preceding line (e.g. in the case where we have multiple lines like the first with comments which become unaligned,) so can't just add more lines of context to the diff. This PR just adds an option to format the whole file, instead of just the modified sections. https://invent.kde.org/qt/clang/llvm/-/commit/e89830da7f4e6656b9ff54ea7695c31435a53ee4 Git commit 9a15298e9664f723c9379c7972735f3c2292829d by GitHub (on behalf of Jonas Devlieghere) on 01/08/2026 at 05:22.. [lldb][test] Skip the JSON symbol file test on WebAssembly (#213407) A JSON symbol file requires the UUID of the module it describes, and a WebAssembly module carries no UUID. https://invent.kde.org/qt/clang/llvm/-/commit/9a15298e9664f723c9379c7972735f3c2292829d Git commit d9e699957d02e8bbf332943b38579909bb8d1005 by GitHub (on behalf of Fangrui Song) on 01/08/2026 at 05:35.. [X86AsmBackend] Define reset() hook (#213409) Noticed when reviewing #175830: MCObjectStreamer::reset frees the fragments PendingBA and PrevInstPosition point into, but X86AsmBackend keeps them. Define the hook. https://invent.kde.org/qt/clang/llvm/-/commit/d9e699957d02e8bbf332943b38579909bb8d1005 Git commit b94b699857a5de41b0def1cffca6908e584be27f by GitHub (on behalf of Alexander Richardson) on 01/08/2026 at 05:45.. [RISCV] Fix ISCVISAInfo::computeDefaultABI() result for xcheriot (#212129) XCheriot was not considered in this function, so RV32E+XCheriot defaulted to ilp32e instead of cheriot when no -target-abi was given. Since this function does not have unit test coverage, this adds new tests for the ABI inference functions: RISCVISAInfo::computeDefaultABI() and RISCVABI::computeTargetABI. This change was created with the help of AI tools https://invent.kde.org/qt/clang/llvm/-/commit/b94b699857a5de41b0def1cffca6908e584be27f Git commit 733727da92bb308962a5671e7d1e913c80a98479 by Alexander Richardson on 01/08/2026 at 05:52.. [๐๐ฝ๐ฟ] changes to main this commit is based on Created using spr 1.3.8-beta.1-arichardson [skip ci] https://invent.kde.org/qt/clang/llvm/-/commit/733727da92bb308962a5671e7d1e913c80a98479 Git commit b12686d6006a2dbe04f850f7b198cc5895fa2b83 by Alexander Richardson on 01/08/2026 at 05:52.. [๐๐ฝ๐ฟ] initial version Created using spr 1.3.8-beta.1-arichardson https://invent.kde.org/qt/clang/llvm/-/commit/b12686d6006a2dbe04f850f7b198cc5895fa2b83 Git commit a77fad1bd07c7471dea86c3b605bae95ab46a07a by Alexander Richardson on 01/08/2026 at 06:16.. [๐๐ฝ๐ฟ] changes introduced through rebase Created using spr 1.3.8-beta.1-arichardson [skip ci] https://invent.kde.org/qt/clang/llvm/-/commit/a77fad1bd07c7471dea86c3b605bae95ab46a07a Git commit 586a5ba0d37cfb0ab17113c64e20be867fc18323 by Alexander Richardson on 01/08/2026 at 06:16.. add more error cases Created using spr 1.3.8-beta.1-arichardson https://invent.kde.org/qt/clang/llvm/-/commit/586a5ba0d37cfb0ab17113c64e20be867fc18323