forked from qt-creator/qt-creator
ClangFormat: Fix unused static function warning
Amends commit 0e5c7f51fa.
Change-Id: I4beb8219828cbf7d02677e724bee41abdf0d7fef
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
8469e317c9
commit
57de7cabdf
@@ -99,6 +99,7 @@ private:
|
|||||||
ClangFormatPlugin::ClangFormatPlugin() = default;
|
ClangFormatPlugin::ClangFormatPlugin() = default;
|
||||||
ClangFormatPlugin::~ClangFormatPlugin() = default;
|
ClangFormatPlugin::~ClangFormatPlugin() = default;
|
||||||
|
|
||||||
|
#ifdef KEEP_LINE_BREAKS_FOR_NON_EMPTY_LINES_BACKPORTED
|
||||||
static void disableCppCodeStyle()
|
static void disableCppCodeStyle()
|
||||||
{
|
{
|
||||||
using namespace TextEditor;
|
using namespace TextEditor;
|
||||||
@@ -116,6 +117,7 @@ static void disableCppCodeStyle()
|
|||||||
page->deleteLater();
|
page->deleteLater();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
bool ClangFormatPlugin::initialize(const QStringList &arguments, QString *errorString)
|
bool ClangFormatPlugin::initialize(const QStringList &arguments, QString *errorString)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user