diff options
Diffstat (limited to 'src/plugins/clangformat/clangformatplugin.cpp')
-rw-r--r-- | src/plugins/clangformat/clangformatplugin.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/clangformat/clangformatplugin.cpp b/src/plugins/clangformat/clangformatplugin.cpp index 561b7e888e..9b76a0862f 100644 --- a/src/plugins/clangformat/clangformatplugin.cpp +++ b/src/plugins/clangformat/clangformatplugin.cpp @@ -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"; |