Compare commits
13 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| eaeb61b8b2 | |||
|
|
50a395adba | ||
| a82a55bf2c | |||
|
|
cb7239c060 | ||
| e0a770ce56 | |||
|
|
bc88a331df | ||
| d519e8e9c6 | |||
|
|
50fc921e5a | ||
| 5a4b5fbdab | |||
|
|
3a39ed2959 | ||
|
|
bef177f43b | ||
|
|
7e1a2c658d | ||
|
|
b542440d45 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6d36da0c9d4d2f8602fb52910bde34bf27501ff758f6182b1a46fa0a91779ef4
|
||||
size 434648
|
||||
Binary file not shown.
3
clazy-v1.16.tar.xz
Normal file
3
clazy-v1.16.tar.xz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0fa9e9ce54969edfb2c831815b724be9ab89c41ac3a40c0033c558173c4c302b
|
||||
size 443752
|
||||
BIN
clazy-v1.16.tar.xz.sig
Normal file
BIN
clazy-v1.16.tar.xz.sig
Normal file
Binary file not shown.
@@ -1,3 +1,67 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 21 12:16:15 UTC 2025 - Christophe Marin <christophe@krop.fr>
|
||||
|
||||
- Build the clang-tidy plugin. The required headers are no longer deleted.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 6 08:45:16 UTC 2025 - Christophe Marin <christophe@krop.fr>
|
||||
|
||||
- Update to 1.16
|
||||
* New clang-tidy plugin
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 15 14:40:26 UTC 2025 - Christophe Marin <christophe@krop.fr>
|
||||
|
||||
- Update to 1.15
|
||||
* install-event-filter: Fix crash when there is no child at the
|
||||
given depth (kde#464372)
|
||||
* fully-qualified-moc-types: Fix enum/enum class not being
|
||||
evaluated (kde#423780)
|
||||
* Fixed crash in qstring-comparison-to-implicit-char (kde#502458)
|
||||
* Fixed crash when fully-qualified-moc-types encounters signals
|
||||
with expressions like "std::bitset<int(8)>"
|
||||
* Fixed crash in qvariant-template-instantiation
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 28 10:55:24 UTC 2025 - Christophe Marin <christophe@krop.fr>
|
||||
|
||||
- Update to 1.14.0
|
||||
* Clazy warnings for the following line can be disabled, for
|
||||
example: clazy:exclude-next-line=check1,check2
|
||||
* Support for compilation against Clang 20
|
||||
* increase verbosity of some warning messages
|
||||
- checks `function-args-by-value` and `function-args-by-ref`:
|
||||
add function name and parameter name to warning message
|
||||
- checks `unused-non-trivial-variable` and
|
||||
`non-pod-global-static`: add variable name to warning message
|
||||
* New checks: qbytearray-conversion-to-c-style
|
||||
- Drop patches, merged upstream:
|
||||
* clazy-llvm20.patch
|
||||
* clazy-llvm20_2.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 6 09:25:24 UTC 2025 - Christophe Marin <christophe@krop.fr>
|
||||
|
||||
- Add patches:
|
||||
* clazy-llvm20.patch
|
||||
* clazy-llvm20_2.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 03 12:30:57 UTC 2025 - Christophe Marin <christophe@krop.fr>
|
||||
|
||||
- Switch back to a git snapshot until a version compatible with
|
||||
LLVM 20 gets released
|
||||
- Update to version 1.14git.20250301T021020~9afca196:
|
||||
* Add new check: qbytearray-conversion-to-c-style
|
||||
* QProcess::start was wrongly flagged as deprecated
|
||||
* HOWTO.md: add a note about running the tests from the build dir directly
|
||||
* Don't warn for missing Q_OBJECT macro for nested classes.
|
||||
* qt6-deprecated-api-fixes: Only flag QString assignment to QDir
|
||||
* Properly document exclude-next-line clazy directive
|
||||
* SuppressionManager: Use continue statement instead of nesting large block in if-statement
|
||||
* SuppressionManager: Also handle clazy:skip after early return
|
||||
* SuppressionManager: Rework controlflow to avoid multiple regex checks in same comment
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 30 08:32:40 UTC 2024 - Christophe Marin <christophe@krop.fr>
|
||||
|
||||
|
||||
20
clazy.spec
20
clazy.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package clazy
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,9 +16,9 @@
|
||||
#
|
||||
|
||||
|
||||
%define release_ver 1.13
|
||||
%define release_ver v1.16
|
||||
Name: clazy
|
||||
Version: 1.13.0
|
||||
Version: 1.16.0
|
||||
Release: 0
|
||||
Summary: Qt oriented code checker based on the Clang framework
|
||||
License: LGPL-2.0-or-later
|
||||
@@ -28,11 +28,11 @@ Source1: https://download.kde.org/stable/clazy/%{release_ver}/src/%{name}
|
||||
# https://invent.kde.org/sysadmin/release-keyring/-/blob/master/keys/alex@key1.asc?ref_type=heads
|
||||
Source2: clazy.keyring
|
||||
BuildRequires: clang
|
||||
BuildRequires: clang-devel >= 11.0
|
||||
BuildRequires: clang-devel >= 19.0
|
||||
BuildRequires: cmake >= 3.13
|
||||
%if 0%{?suse_version} == 1500
|
||||
BuildRequires: gcc13-PIE
|
||||
BuildRequires: gcc13-c++
|
||||
BuildRequires: gcc14-PIE
|
||||
BuildRequires: gcc14-c++
|
||||
%endif
|
||||
BuildRequires: libstdc++-devel
|
||||
Requires: clang
|
||||
@@ -56,10 +56,13 @@ sed -i "s#CLANGXX:-clang++#CLANGXX:-clang++-%{_llvm_sonum}#" clazy.cmake
|
||||
%define _lto_cflags %{nil}
|
||||
|
||||
%if 0%{?suse_version} == 1500
|
||||
export CXX=g++-13
|
||||
export CXX=g++-14
|
||||
%endif
|
||||
|
||||
%cmake -DCMAKE_INSTALL_DOCDIR=%{_datadir}/doc/clazy
|
||||
# The clang-tidy plugin must be built without '-Wl,--no-undefined'
|
||||
%cmake \
|
||||
-DCMAKE_INSTALL_DOCDIR=%{_datadir}/doc/clazy \
|
||||
-DCMAKE_EXE_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now" -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now"
|
||||
|
||||
%cmake_build
|
||||
|
||||
@@ -76,6 +79,7 @@ sed -i 's#%{_bindir}/env sh$#/bin/sh#' %{buildroot}%{_bindir}/clazy
|
||||
%{_bindir}/clazy-standalone
|
||||
%{_datadir}/metainfo/org.kde.clazy.metainfo.xml
|
||||
%{_libdir}/ClazyPlugin.so
|
||||
%{_libdir}/ClazyClangTidy.so
|
||||
%{_mandir}/man1/clazy.1%{?ext_man}
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user