public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jan Grulich <grulja@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/clazy] epel8: Update to latest snapshot with LLVM-19 support
Date: Fri, 14 Aug 2026 07:35:58 GMT [thread overview]
Message-ID: <178669295860.1.12537986238926343652.rpms-clazy-dcb174ba9993@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/clazy
Branch : epel8
Commit : dcb174ba99931d7cd2154379f08fc43a559560a1
Author : Jan Grulich <grulja@gmail.com>
Date : 2024-11-20T11:18:37+01:00
Stats : +10/-49 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/clazy/c/dcb174ba99931d7cd2154379f08fc43a559560a1?branch=epel8
Log:
Update to latest snapshot with LLVM-19 support
---
diff --git a/.gitignore b/.gitignore
index 887f177..60b3ebd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@
/clazy-1.11.tar.xz
/clazy-b205b52c0efbee044fd9377e077cb73e8772c8f8.tar.gz
/clazy-69fedb41f3c41b3c81ba7707c606ce3010a3e445.tar.gz
+/clazy-560bdc17e7079c1b834dc9728a5ff9e4e0ca1420.tar.gz
diff --git a/0001-s-isPure-isPureVirtual.patch b/0001-s-isPure-isPureVirtual.patch
deleted file mode 100644
index b6ad67a..0000000
--- a/0001-s-isPure-isPureVirtual.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From f087164fed866c04f28462d628cfae6541b829c8 Mon Sep 17 00:00:00 2001
-From: Tom Stellard <tstellar@redhat.com>
-Date: Sat, 2 Mar 2024 05:17:27 +0000
-Subject: [PATCH] s/isPure/isPureVirtual
-
-This API was changed upstream in llvm by commit
-e90e43fb9cd1d305f7196cd526aa503374e0f616.
----
- src/FunctionUtils.h | 2 +-
- src/checks/level2/virtual-call-ctor.cpp | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/FunctionUtils.h b/src/FunctionUtils.h
-index 7115327a..4c633928 100644
---- a/src/FunctionUtils.h
-+++ b/src/FunctionUtils.h
-@@ -73,7 +73,7 @@ inline bool classImplementsMethod(const clang::CXXRecordDecl *record, const clan
-
- llvm::StringRef methodName = clazy::name(method);
- for (auto *m : record->methods()) {
-- if (!m->isPure() && clazy::name(m) == methodName && parametersMatch(m, method)) {
-+ if (!m->isPureVirtual() && clazy::name(m) == methodName && parametersMatch(m, method)) {
- return true;
- }
- }
-diff --git a/src/checks/level2/virtual-call-ctor.cpp b/src/checks/level2/virtual-call-ctor.cpp
-index 1f1cb28b..5704b49c 100644
---- a/src/checks/level2/virtual-call-ctor.cpp
-+++ b/src/checks/level2/virtual-call-ctor.cpp
-@@ -107,7 +107,7 @@ SourceLocation VirtualCallCtor::containsVirtualCall(clang::CXXRecordDecl *classD
- }
-
- if (memberDecl->getParent() == classDecl) {
-- if (memberDecl->isPure()) {
-+ if (memberDecl->isPureVirtual()) {
- return clazy::getLocStart(callExpr);
- }
- if (containsVirtualCall(classDecl, memberDecl->getBody(), processedStmts).isValid()) {
---
-2.41.0
-
diff --git a/clazy.spec b/clazy.spec
index c61d58b..6b4dafe 100644
--- a/clazy.spec
+++ b/clazy.spec
@@ -1,12 +1,12 @@
-%global commit 69fedb41f3c41b3c81ba7707c606ce3010a3e445
-%global commitdate 20240128
+%global commit 560bdc17e7079c1b834dc9728a5ff9e4e0ca1420
+%global commitdate 20241119
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: clazy
Summary: Qt oriented code checker based on clang framework
-Version: 1.11%{?commitdate:^git%{commitdate}.%{shortcommit}}
-Release: 7%{?dist}
+Version: 1.12%{?commitdate:^git%{commitdate}.%{shortcommit}}
+Release: 1%{?dist}
License: LGPL-2.0-or-later
URL: https://invent.kde.org/sdk/%{name}
@@ -17,8 +17,6 @@ Source0: https://download.kde.org/stable/%{name}/%{version}/src/%{name}-%
%endif
Patch0: clazy-no-rpath.patch
-# Fix for clang-18
-Patch1: 0001-s-isPure-isPureVirtual.patch
BuildRequires: cmake
BuildRequires: gcc-c++
@@ -47,7 +45,7 @@ refactoring.
%ldconfig_scriptlets
%files
-%doc HOWTO
+%doc HOWTO.md README.md
%license LICENSES/*
%{_bindir}/clazy
%{_bindir}/clazy-standalone
@@ -59,6 +57,9 @@ refactoring.
%changelog
+* Wed Nov 20 2024 Jan Grulich <jgrulich@redhat.com> - 1.12^git20241119.560bdc1-1
+- Update to latest snapshot with LLVM-19 support
+
* Mon Oct 21 2024 Jan Grulich <jgrulich@redhat.com> - 1.11^git20240128.69fedb4-7
- Rebuild (LLVM-19)
diff --git a/sources b/sources
index 6e9a430..da01baf 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (clazy-69fedb41f3c41b3c81ba7707c606ce3010a3e445.tar.gz) = 93528945bb986fc39d9b0da64b4685298fad769dc69a36474553df45becf71acb37a3ea39b9300549a7a55cb445587d3b6826904449f56bd7cb880bca2859d94
+SHA512 (clazy-560bdc17e7079c1b834dc9728a5ff9e4e0ca1420.tar.gz) = 8c0f319bdbe40215dbd8cfa482d386d6c464d19b130ab5f4f9bcf6597c3fa3a4b4a408347d9175ccae6e4a581b96eb370f2b68170e99efde92ef50f36d4fecec
reply other threads:[~2026-08-14 7:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178669295860.1.12537986238926343652.rpms-clazy-dcb174ba9993@fedoraproject.org \
--to=grulja@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox