forked from qt-creator/qt-creator
Use Q_DECL_OVERRIDE instead of QTC_OVERRIDE
This patch removes src/libs/utils/qtcoverride.h and uses Q_DECL_OVERRIDE from Qt 5 instead. Change-Id: I61ffa539648ffe996dc061eec7708c04580c0f09 Reviewed-by: Eike Ziller <eike.ziller@digia.com> Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
This commit is contained in:
@@ -35,7 +35,6 @@
|
||||
|
||||
#include <cpptools/baseeditordocumentparser.h>
|
||||
|
||||
#include <utils/qtcoverride.h>
|
||||
|
||||
namespace CppTools { class WorkingCopy; }
|
||||
|
||||
@@ -51,7 +50,7 @@ public:
|
||||
public:
|
||||
ClangEditorDocumentParser(const QString &filePath);
|
||||
|
||||
void update(CppTools::WorkingCopy workingCopy) QTC_OVERRIDE;
|
||||
void update(CppTools::WorkingCopy workingCopy) Q_DECL_OVERRIDE;
|
||||
|
||||
QList<Diagnostic> diagnostics() const;
|
||||
QList<SemanticMarker::Range> ifdefedOutBlocks() const;
|
||||
|
||||
@@ -36,7 +36,6 @@
|
||||
#include <cpptools/builtineditordocumentprocessor.h>
|
||||
#include <cpptools/semantichighlighter.h>
|
||||
|
||||
#include <utils/qtcoverride.h>
|
||||
|
||||
#include <QFutureWatcher>
|
||||
|
||||
@@ -51,11 +50,11 @@ public:
|
||||
~ClangEditorDocumentProcessor();
|
||||
|
||||
// BaseEditorDocumentProcessor interface
|
||||
void run() QTC_OVERRIDE;
|
||||
void semanticRehighlight(bool force) QTC_OVERRIDE;
|
||||
CppTools::SemanticInfo recalculateSemanticInfo() QTC_OVERRIDE;
|
||||
CppTools::BaseEditorDocumentParser *parser() QTC_OVERRIDE;
|
||||
bool isParserRunning() const QTC_OVERRIDE;
|
||||
void run() Q_DECL_OVERRIDE;
|
||||
void semanticRehighlight(bool force) Q_DECL_OVERRIDE;
|
||||
CppTools::SemanticInfo recalculateSemanticInfo() Q_DECL_OVERRIDE;
|
||||
CppTools::BaseEditorDocumentParser *parser() Q_DECL_OVERRIDE;
|
||||
bool isParserRunning() const Q_DECL_OVERRIDE;
|
||||
|
||||
private slots:
|
||||
void onParserFinished();
|
||||
|
||||
Reference in New Issue
Block a user