forked from qt-creator/qt-creator
ClangFormat: Fix warning
Change-Id: Ifdf4bfb7662017b2ba2e28074808919f7a726a8a Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -153,7 +153,12 @@ bool ClangFormatPlugin::initialize(const QStringList &arguments, QString *errorS
|
||||
}
|
||||
return true;
|
||||
#else
|
||||
#ifdef _MSC_VER
|
||||
#pragma message( \
|
||||
"ClangFormat: building dummy plugin due to unmodified Clang, see README.md for more info")
|
||||
#else
|
||||
#warning ClangFormat: building dummy plugin due to unmodified Clang, see README.md for more info
|
||||
#endif
|
||||
*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";
|
||||
|
Reference in New Issue
Block a user