[qt/clang/llvm-project]: 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-project Pushed by mirror-service into branch 'upstream/main'. Changed from 56eb9ab86741206baacefb62a40c8a54b4382e91 to 60f965b1f62c0c77bcdb2997ea9bb6603aa0d002 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-project/-/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-project/-/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-project/-/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-project/-/commit/b94b699857a5de41b0def1cffca6908e584be27f Git commit 3c3a18e239fcb79ad780cc95ac7554046876da2a by GitHub (on behalf of Matt Arsenault) on 01/08/2026 at 06:14.. clang: Store vendor GPU kinds in OffloadArch instead of re-listing GPUs (#213362) OffloadArch was a flat enum that hand-duplicated every AMDGPU and NVPTX target, plus a few edge cases. This was yet another place that needed updating every time a new target is added, which should now be avoided. Replace with a tagged union-like scheme. Co-authored-by: Claude (Claude-Opus-4.8) <[email protected]> https://invent.kde.org/qt/clang/llvm-project/-/commit/3c3a18e239fcb79ad780cc95ac7554046876da2a Git commit c27bee245fc0cbc1881632c1546a946fd96d305e by GitHub (on behalf of K.Roy) on 01/08/2026 at 06:15.. [AMDGPU] Generalize MFMA VGPR->AGPR opcode mapping (NFC) (#213274) Move the VGPR/AGPR pairing out of MFMATable into a generalized AGPRFormTable class and rename getMFMASrcCVDstAGPROp to getAGPRFormOp. MFMATable inherits AGPRFormTable, so the instantiation sites and the generated table are unchanged. Other instruction families with paired VGPR/AGPR pseudos, such as DS, can now be tagged with AGPRFormTable. Related to #168983 https://invent.kde.org/qt/clang/llvm-project/-/commit/c27bee245fc0cbc1881632c1546a946fd96d305e Git commit 6b98f82fe93ff6a0b83677e19f3672bbb7aef79f by GitHub (on behalf of Matt Arsenault) on 01/08/2026 at 07:41.. cmake: Derive CMake system name from a triple via new mechanism (#208773) https://invent.kde.org/qt/clang/llvm-project/-/commit/6b98f82fe93ff6a0b83677e19f3672bbb7aef79f Git commit 232e8b5f458479163340ae2d9c1925ccaaaa154b by GitHub (on behalf of A. Jiang) on 01/08/2026 at 09:20.. [libc++] Implement LWG4169: `std::atomic<T>`'s default constructor should be constrained (#131950) Drive-by: Rename `constexpr_noexcept.compile.pass.cpp` to `ctor.default.pass.cpp` as test coverage is added to it, and compile and run it in all modes. https://invent.kde.org/qt/clang/llvm-project/-/commit/232e8b5f458479163340ae2d9c1925ccaaaa154b Git commit 71b120f63ef3c63e9ee1d4394b9bad8623b183f3 by GitHub (on behalf of Dmitry Sidorov) on 01/08/2026 at 10:36.. [AMDGPU] Use SubtargetPredicates for the f32/f16 -> fp8/bf8 conversions (#213383) The follow-up #212888 left for the other direction. HasCvtFP8SDWASrcSel and HasCvtFP8ByteSel replace isGFX940Plus and isGFX11Plus on the f32 -> fp8/bf8 conversions, which split by the same encoding characteristic, so the two feature descriptions become direction-neutral. The f16 -> fp8/bf8 conversions had no feature at all, so add FeatureF16FP8ConversionInsts, the mirror of the existing FeatureFP8F16ConversionInsts, and use it in place of isGFX1250Plus. Assisted-By: Claude Opus 5 https://invent.kde.org/qt/clang/llvm-project/-/commit/71b120f63ef3c63e9ee1d4394b9bad8623b183f3 Git commit 63f9de888eaba0162bf6c897d5d0d749a0ffc9f8 by GitHub (on behalf of David Green) on 01/08/2026 at 10:57.. [AArch64][GlobalISel] Update store merging tests to concrete types. NFC (#213429) https://invent.kde.org/qt/clang/llvm-project/-/commit/63f9de888eaba0162bf6c897d5d0d749a0ffc9f8 Git commit 60f965b1f62c0c77bcdb2997ea9bb6603aa0d002 by GitHub (on behalf of hehuan) on 01/08/2026 at 11:09.. [clang-tidy] Fix trailing semicolon and lost comment in readability-use-std-min-max (#208782) Fix two bugs in readability-use-std-min-max when the if body has no braces. For brace-less if bodies, If->getEndLoc() points to the expression end rather than the trailing semicolon, truncating replacements and losing comments. We find the semicolon via findNextToken and extend the range consistent with compound statement logic. Before: if (n < -1) n = -1 ; -> n = std::max(n, -1); ; if (n > 1) n = 1/*comment*/; -> n = std::min(n, 1);; After: if (n < -1) n = -1 ; -> n = std::max(n, -1); if (n > 1) n = 1/*comment*/; -> n = std::min(n, 1); /*comment*/ Fixes #208708. AI Usage: This patch is AI-assisted, reviewed and verified by me. https://invent.kde.org/qt/clang/llvm-project/-/commit/60f965b1f62c0c77bcdb2997ea9bb6603aa0d002