From d4c58ad3fac6aaa8cdb4998fe9da76322ed3568a Mon Sep 17 00:00:00 2001 From: Nicolas Guichard Date: Sun, 5 May 2019 02:44:17 +0200 Subject: [PATCH] Fix clang-tidy to clazy rename patch --- trunk/PKGBUILD | 2 +- trunk/qtcreator-clang-plugins.patch | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD index 4a32a36..d34dd0d 100644 --- a/trunk/PKGBUILD +++ b/trunk/PKGBUILD @@ -30,7 +30,7 @@ optdepends=('qt5-doc: integrated Qt documentation' source=("https://download.qt.io/official_releases/qtcreator/${pkgver%.*}/$pkgver/qt-creator-opensource-src-$pkgver.tar.xz" qtcreator-clang-plugins.patch) sha256sums=('46ee1992531b769450f8be96cf63520b609d7dd305df345d7cd8216ac396e6a8' - '149ffcd0ab7c53605951c66dba707ff7e0dc17136c921f1a668fc392c5a7f3f2') + 'ba4ebfa0cb2a9977b9ec9f12eaa92dac152ed2d67976829f2a596bc27888f0ab') prepare() { mkdir -p build diff --git a/trunk/qtcreator-clang-plugins.patch b/trunk/qtcreator-clang-plugins.patch index 145c951..c6d7eb8 100644 --- a/trunk/qtcreator-clang-plugins.patch +++ b/trunk/qtcreator-clang-plugins.patch @@ -49,9 +49,10 @@ index a580704243..7a8740a5cc 100644 const QString clazyChecks = m_diagnosticConfig.clazyChecks(); if (!clazyChecks.isEmpty()) { - arguments << XclangArgs({"-add-plugin", -+ arguments << XclangArgs({"-load", "ClazyPlugin.so", "-add-plugin", - "clang-lazy", +- "clang-lazy", - "-plugin-arg-clang-lazy", ++ arguments << XclangArgs({"-load", "ClazyPlugin.so", "-add-plugin", ++ "clazy", + "-plugin-arg-clazy", "enable-all-fixits", - "-plugin-arg-clang-lazy", -- 2.21.0