public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/qt6-qttools] rawhide: Rebuild (LLVM-23)
@ 2026-10-07 6:56 Yaakov Selkowitz
0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-10-07 6:56 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/qt6-qttools
Branch : rawhide
Commit : d135431114adbbb459cd365f845047823b02942f
Author : Yaakov Selkowitz <yselkowi@redhat.com>
Date : 2026-10-06T15:33:51-04:00
Stats : +12/-5 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/qt6-qttools/c/d135431114adbbb459cd365f845047823b02942f?branch=rawhide
Log:
Rebuild (LLVM-23)
https://github.com/qt/qttools/commit/30146f5629ff8ff583fb117a75e79c0604e64f9d
---
diff --git a/qdoc-support-newer-clang.patch b/qdoc-support-newer-clang.patch
index adc0572..eb78733 100644
--- a/qdoc-support-newer-clang.patch
+++ b/qdoc-support-newer-clang.patch
@@ -7,7 +7,7 @@ index 72d27db..8a3cba4 100644
# List of explicitly supported Clang versions for QDoc
set(QDOC_SUPPORTED_CLANG_VERSIONS
- "21.1" "20.1" "19.1" "18.1" "17.0.6"
-+ "22.1" "22.0" "21.1" "20.1" "19.1" "18.1" "17.0.6"
++ "23.1" "22.1" "22.0" "21.1" "20.1" "19.1" "18.1" "17.0.6"
)
# Check for QDoc coverage dependencies
diff --git a/qt6-qttools.spec b/qt6-qttools.spec
index 33a317a..96a5924 100644
--- a/qt6-qttools.spec
+++ b/qt6-qttools.spec
@@ -12,7 +12,7 @@
Summary: Qt6 - QtTool components
Name: qt6-qttools
Version: 6.11.2
-Release: 1%{?dist}
+Release: 2%{?dist}
License: LGPL-3.0-only OR GPL-3.0-only WITH Qt-GPL-exception-1.0
Url: http://www.qt.io
@@ -390,6 +390,9 @@ popd
%changelog
+* Tue Oct 06 2026 Yaakov Selkowitz <yselkowi@redhat.com> - 6.11.2-2
+- Rebuild (LLVM-23)
+
* Fri Aug 21 2026 Jan Grulich <jgrulich@redhat.com> - 6.11.2-1
- 6.11.2
diff --git a/qttools-llvm22-qdoc-fixes.patch b/qttools-llvm22-qdoc-fixes.patch
index 3549028..eeaf8c0 100644
--- a/qttools-llvm22-qdoc-fixes.patch
+++ b/qttools-llvm22-qdoc-fixes.patch
@@ -532,14 +532,14 @@ index bd9a5fe..e2b4fad 100644
QT_BEGIN_NAMESPACE
-@@ -166,12 +173,86 @@ static const clang::Decl* get_cursor_declaration(CXCursor cursor) {
+@@ -166,12 +173,90 @@ static const clang::Decl* get_cursor_declaration(CXCursor cursor) {
* representation of a type is acquired as part of parsing with Clang,
* so as to ensure a consistent behavior and output.
*/
+/*
+ * Ensures that bare "(unnamed)" or "(anonymous)" markers in \a typeName
-+ * include the record keyword (struct, union, class). With
-+ * AnonymousTagLocations disabled, some LLVM versions omit the keyword
++ * include the record keyword (struct, union, class). Without
++ * anonymous tag locations, some LLVM versions omit the keyword
+ * for some or all anonymous scopes. This function recovers the correct
+ * keyword for each scope from the RecordDecl hierarchy.
+ *
@@ -618,7 +618,11 @@ index bd9a5fe..e2b4fad 100644
- declaration_context.getPrintingPolicy()
- );
+ auto policy = declaration_context.getPrintingPolicy();
++#if LIBCLANG_VERSION_MAJOR >= 23
++ policy.AnonymousTagNameStyle = llvm::to_underlying(clang::PrintingPolicy::AnonymousTagMode::Plain);
++#else
+ policy.AnonymousTagLocations = false;
++#endif
+ std::string result = clang::TypeName::getFullyQualifiedName(type, declaration_context, policy);
+ return ensureAnonymousTagKeyword(std::move(result), type);
}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-07 6:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-07 6:56 [rpms/qt6-qttools] rawhide: Rebuild (LLVM-23) Yaakov Selkowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox