Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 649674 Details for
Bug 711788
dev-qt/qt-creator-4.10.1[clang] fails to link with sys-devel/clang:10
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
qt-creator-4.10.1-llvm9.patch
qt-creator-4.10.1-llvm9.patch (text/plain), 1.25 KB, created by
Fabio Rossi
on 2020-07-17 09:14:21 UTC
(
hide
)
Description:
qt-creator-4.10.1-llvm9.patch
Filename:
MIME Type:
Creator:
Fabio Rossi
Created:
2020-07-17 09:14:21 UTC
Size:
1.25 KB
patch
obsolete
>From 6ec8017bc675692f3d325c0cd95c9c4c7a79db7d Mon Sep 17 00:00:00 2001 >From: Nikolai Kosjar <nikolai.kosjar@qt.io> >Date: Wed, 2 Oct 2019 09:28:43 +0200 >Subject: Clang: Build against LLVM/Clang 9 > >Change-Id: I3608bca6541614bb55e67d35c87334957cd02761 >Reviewed-by: Cristian Adam <cristian.adam@qt.io> >Reviewed-by: Konstantin Tokarev <annulen@yandex.ru> >--- > src/plugins/clangformat/clangformatutils.cpp | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/src/plugins/clangformat/clangformatutils.cpp b/src/plugins/clangformat/clangformatutils.cpp >index 59c2b592d7..f087f77a94 100644 >--- a/src/plugins/clangformat/clangformatutils.cpp >+++ b/src/plugins/clangformat/clangformatutils.cpp >@@ -60,7 +60,11 @@ static clang::format::FormatStyle qtcStyle() > style.AllowShortBlocksOnASingleLine = false; > style.AllowShortCaseLabelsOnASingleLine = false; > style.AllowShortFunctionsOnASingleLine = FormatStyle::SFS_Inline; >+#if LLVM_VERSION_MAJOR >= 9 >+ style.AllowShortIfStatementsOnASingleLine = FormatStyle::SIS_Never; >+#else > style.AllowShortIfStatementsOnASingleLine = false; >+#endif > style.AllowShortLoopsOnASingleLine = false; > style.AlwaysBreakAfterReturnType = FormatStyle::RTBS_None; > style.AlwaysBreakBeforeMultilineStrings = false; >-- >cgit v1.2.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 711788
:
617402
| 649674 |
649676