Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#67743 - [clang] backport patch to enable building qtcreator with functional clangformat patch

Attached to Project: Arch Linux
Opened by Hussam Al-Tayeb (hussam) - Friday, 28 August 2020, 12:06 GMT
Last edited by Evangelos Foutras (foutrelis) - Saturday, 29 August 2020, 07:59 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Evangelos Foutras (foutrelis)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Patch: https://code.qt.io/cgit/clang/llvm-project.git/patch/?id=9b992a0f7f160dd6c75f20a4dcfcf7c60a4894df


https://code.qt.io/cgit/qt-creator/qt-creator.git/tree/README.md#n289

### Clang-Format

The ClangFormat plugin depends on the additional patch

https://code.qt.io/cgit/clang/llvm-project.git/commit/?h=release_100-based&id=9b992a0f7f160dd6c75f20a4dcfcf7c60a4894df

While the plugin builds without it, it will be disabled on start with an error message.

Note that the plugin is disabled by default.
This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Saturday, 29 August 2020, 07:59 GMT
Reason for closing:  Upstream
Comment by Hussam Al-Tayeb (hussam) - Friday, 28 August 2020, 12:08 GMT
I'll rebuild clang with the patch and then the just-released qtcreator 4.13.0 to verify this fixes the plugin.
Comment by Eli Schwartz (eschwartz) - Friday, 28 August 2020, 12:40 GMT
It is most definitely not a backport.

It's a deviant qt-specific patch which was submitted upstream in https://reviews.llvm.org/D53072 but still under review and not looking likely to be accepted any time soon.
Comment by Evangelos Foutras (foutrelis) - Friday, 28 August 2020, 13:29 GMT
Like Eli said, this needs to go through upstream first. Qt Creator also seems to be moving towards working with vanilla clang packages, so perhaps they'll adjust the clang-format part of the plugin accordingly.

Loading...