public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/clazy] epel8: 1.14
@ 2026-08-14  7:36 Steve Cossette
  0 siblings, 0 replies; only message in thread
From: Steve Cossette @ 2026-08-14  7:36 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/clazy
Branch : epel8
Commit : a9f2d03b0d7ba4afdfbd3689ab658640280f51a2
Author : Steve Cossette <farchord@gmail.com>
Date   : 2025-04-28T21:16:09-04:00
Stats  : +7/-66 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/clazy/c/a9f2d03b0d7ba4afdfbd3689ab658640280f51a2?branch=epel8

Log:
1.14

---
diff --git a/.gitignore b/.gitignore
index 46817d8..c939fb6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,3 +9,4 @@
 /clazy-69fedb41f3c41b3c81ba7707c606ce3010a3e445.tar.gz
 /clazy-560bdc17e7079c1b834dc9728a5ff9e4e0ca1420.tar.gz
 /clazy-1.13.tar.xz
+/clazy-1.14.tar.xz

diff --git a/clazy-fix-build-with-clang20.patch b/clazy-fix-build-with-clang20.patch
deleted file mode 100644
index bae4a8e..0000000
--- a/clazy-fix-build-with-clang20.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-From 9ee9d8595a5bb0e41cd36e61fc56deeeb6816065 Mon Sep 17 00:00:00 2001
-From: Alexander Lohnau <alexander.lohnau@gmx.de>
-Date: Sun, 30 Mar 2025 10:30:18 +0200
-Subject: [PATCH 1/2] Add preprocessor if statement for method that is no
- longer in clang20
-
-https://invent.kde.org/sdk/clazy/-/issues/27
-
-Test failures need to be adressed separately
----
- src/FixItExporter.cpp | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/src/FixItExporter.cpp b/src/FixItExporter.cpp
-index f4c14171..a6edcb25 100644
---- a/src/FixItExporter.cpp
-+++ b/src/FixItExporter.cpp
-@@ -191,7 +191,9 @@ void FixItExporter::Diag(SourceLocation Loc, unsigned DiagID)
-     // clear out any current diagnostic, and let the downstream client
-     // format the diagnostic.
-     DiagEngine.setClient(Client, false);
-+#if LLVM_VERSION_MAJOR < 20
-     DiagEngine.Clear();
-+#endif
-     DiagEngine.Report(Loc, DiagID);
-     DiagEngine.setClient(this, false);
- }
--- 
-GitLab
-
-
-From eadd5f7cb50a816cb32dc492bb8902736e62eddd Mon Sep 17 00:00:00 2001
-From: Alexander Lohnau <alexander.lohnau@gmx.de>
-Date: Sun, 30 Mar 2025 16:52:03 +0200
-Subject: [PATCH 2/2] use-static-qregularexpression: Adjust to type of variable
- having changed from xvalue to lvalue in clang20
-
----
- src/checks/level0/use-static-qregularexpression.cpp | 6 ++++++
- 1 file changed, 6 insertions(+)
-
-diff --git a/src/checks/level0/use-static-qregularexpression.cpp b/src/checks/level0/use-static-qregularexpression.cpp
-index 176a6691..71b1370a 100644
---- a/src/checks/level0/use-static-qregularexpression.cpp
-+++ b/src/checks/level0/use-static-qregularexpression.cpp
-@@ -196,6 +196,12 @@ void UseStaticQRegularExpression::VisitStmt(clang::Stmt *stmt)
-                 emitWarning(obj->getBeginLoc(), "Don't create temporary QRegularExpression objects. Use a static QRegularExpression object instead");
-                 return;
-             }
-+
-+            // In clang20, "auto m2 = QRegularExpression("[123]").globalMatch(selectedText);" is apparently an l-value
-+            if (auto *temp = dyn_cast<MaterializeTemporaryExpr>(obj); temp && isTemporaryQRegexObj(temp, lo())) {
-+                emitWarning(temp->getBeginLoc(), "Don't create temporary QRegularExpression objects. Use a static QRegularExpression object instead");
-+            }
-+
-         } else if (obj->isXValue()) {
-             // is it a temporary?
-             auto *temp = dyn_cast<MaterializeTemporaryExpr>(obj);
--- 
-GitLab
-

diff --git a/clazy.spec b/clazy.spec
index 9a408af..24f2816 100644
--- a/clazy.spec
+++ b/clazy.spec
@@ -1,7 +1,7 @@
 Name:           clazy
 Summary:        Qt oriented code checker based on clang framework
-Version:        1.13
-Release:        3%{?dist}
+Version:        1.14
+Release:        1%{?dist}
 License:        LGPL-2.0-or-later
 URL:            https://invent.kde.org/sdk/%{name}
 
@@ -12,8 +12,6 @@ Source0:        https://download.kde.org/stable/%{name}/%{version}/src/%{name}-%
 %endif
 
 Patch0:         clazy-no-rpath.patch
-# https://invent.kde.org/sdk/clazy/-/merge_requests/176
-Patch1:         clazy-fix-build-with-clang20.patch
 
 BuildRequires: cmake
 BuildRequires: gcc-c++
@@ -54,6 +52,9 @@ refactoring.
 
 
 %changelog
+* Tue Apr 29 2025 Steve Cossette <farchord@gmail.com> - 1.14-1
+- 1.14
+
 * Wed Apr 09 2025 Jan Grulich <jgrulich@redhat.com> - 1.13-3
 - Fix build against Clang/LLVM 20
 

diff --git a/sources b/sources
index 72995aa..584359f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (clazy-1.13.tar.xz) = 4044bddb9e60e227ff2ab7e40c32f087a621e00c985e1706a4f4e2ace20f96cc6e78f00781f7d59da5b066aa49370c645db506e41d955409c0e146771a59ee24
+SHA512 (clazy-1.14.tar.xz) = 2732e22d56d3121de3639e24759cf47648fc3f5550cf232cbaf97c7efc92e0aacb01c8921326fb15beca3679907aa26a900147b2d3f318792c767e7237604e98

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-14  7:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-14  7:36 [rpms/clazy] epel8: 1.14 Steve Cossette

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox