forked from qt-creator/qt-creator
ClangFormat: improve the message the users see
In this way it's made clear that the plugin requires a patched version of Clang. Task-number: QTCREATORBUG-22923 Change-Id: Ifefd5ab1a3dc82b85e553c5e1fedffb72919dd17 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
@@ -155,8 +155,9 @@ bool ClangFormatPlugin::initialize(const QStringList &arguments, QString *errorS
|
||||
}
|
||||
return true;
|
||||
#else
|
||||
*errorString = "Disabling ClangFormat plugin as it is not built against a suitable version of "
|
||||
"Clang's libFormat. For more information, see the Qt Creator README at "
|
||||
#warning ClangFormat: building dummy plugin due to unmodified Clang, see README.md for more info
|
||||
*errorString = "Disabling ClangFormat plugin as it has not been built against a modified Clang's libFormat."
|
||||
"For more information see the Qt Creator README at "
|
||||
"https://code.qt.io/cgit/qt-creator/qt-creator.git/tree/README.md";
|
||||
return false;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user