summaryrefslogtreecommitdiff
path: root/libre/qtcreator/qtcreator-preload-plugins.patch
diff options
context:
space:
mode:
authorTheo von Arx <theova@member.fsf.org>2020-05-01 10:29:59 +0200
committerAndreas Grapentin <andreas@grapentin.org>2020-05-12 23:10:34 +0200
commit0039858669c0e8e16983c88533cba3ccff9b4306 (patch)
treebdccd482afeaedf73c4f1801e62b5c26c587c4c5 /libre/qtcreator/qtcreator-preload-plugins.patch
parent4e63418195e6edd08cbba592d77d5a931260627d (diff)
Update libre/qtcreator to 4.12.0
Signed-off-by: Andreas Grapentin <andreas@grapentin.org>
Diffstat (limited to 'libre/qtcreator/qtcreator-preload-plugins.patch')
-rw-r--r--libre/qtcreator/qtcreator-preload-plugins.patch18
1 files changed, 9 insertions, 9 deletions
diff --git a/libre/qtcreator/qtcreator-preload-plugins.patch b/libre/qtcreator/qtcreator-preload-plugins.patch
index 23b2dfa3f..d4ec515fe 100644
--- a/libre/qtcreator/qtcreator-preload-plugins.patch
+++ b/libre/qtcreator/qtcreator-preload-plugins.patch
@@ -1,13 +1,13 @@
diff --git a/src/plugins/clangtools/clangtidyclazyrunner.cpp b/src/plugins/clangtools/clangtidyclazyrunner.cpp
-index a580704243..7a8740a5cc 100644
+index 166d1c94e0..de0b9cc67b 100644
--- a/src/plugins/clangtools/clangtidyclazyrunner.cpp
+++ b/src/plugins/clangtools/clangtidyclazyrunner.cpp
-@@ -63,7 +63,7 @@ QStringList ClangTidyClazyRunner::constructCommandLineArguments(const QStringLis
+@@ -67,7 +67,7 @@ static QStringList clazyPluginArguments(const ClangDiagnosticConfig diagnosticCo
+ QStringList arguments;
- const QString clazyChecks = diagnosticConfig.clazyChecks();
- if (!clazyChecks.isEmpty()) {
-- arguments << XclangArgs({"-add-plugin",
-+ arguments << XclangArgs({"-load", "ClazyPlugin.so", "-add-plugin",
- "clazy",
- "-plugin-arg-clazy",
- diagnosticConfig.clazyChecks()});
+ if (diagnosticConfig.isClazyEnabled()) {
+- arguments << XclangArgs({"-add-plugin", "clazy"});
++ arguments << XclangArgs({"-load", "ClazyPlugin.so", "-add-plugin", "clazy"});
+ if (!diagnosticConfig.clazyChecks().isEmpty())
+ arguments << XclangArgs({"-plugin-arg-clazy", diagnosticConfig.clazyChecks()});
+ }