-
Type:
Bug
-
Status: Closed
-
Priority:
Not Evaluated
-
Resolution: Duplicate
-
Affects Version/s: Qt Creator 4.9.1
-
Fix Version/s: None
-
Component/s: Building Qt Creator
-
Labels:None
-
Platform/s:
When LLVM-Clang version 9 is used to compile Qt Creator there is a problem with ClangFormat plugin: line 63 of /src/plugins/clangformat/clangformatutils.cpp:
style.AllowShortIfStatementsOnASingleLine = false;
produces "uncompatible type assignation" error.
Now the correct workaround is to replace that line to the following:
style.AllowShortIfStatementsOnASingleLine = clang::format::FormatStyle::SIS_Always;
- duplicates
-
QTCREATORBUG-23038 FTBFS: error: cannot convert "bool" to "clang::format::FormatStyle::ShortIfStyle" in assignment
-
- Closed
-