forked from qt-creator/qt-creator
Clang: Integrate highlighting results from backend
Change-Id: I2c3fb69aabfe075bde76d63eafc2ca370f17493c Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
This commit is contained in:
committed by
Nikolai Kosjar
parent
eb2457869d
commit
7ce9ef9db4
@@ -31,12 +31,8 @@
|
||||
#ifndef CLANGEDITORDOCUMENTPARSER_H
|
||||
#define CLANGEDITORDOCUMENTPARSER_H
|
||||
|
||||
#include "semanticmarker.h"
|
||||
|
||||
#include <cpptools/baseeditordocumentparser.h>
|
||||
|
||||
namespace CppTools { class WorkingCopy; }
|
||||
|
||||
namespace ClangCodeModel {
|
||||
|
||||
class ClangEditorDocumentParser : public CppTools::BaseEditorDocumentParser
|
||||
@@ -46,17 +42,8 @@ class ClangEditorDocumentParser : public CppTools::BaseEditorDocumentParser
|
||||
public:
|
||||
ClangEditorDocumentParser(const QString &filePath);
|
||||
|
||||
QList<Diagnostic> diagnostics() const;
|
||||
QList<SemanticMarker::Range> ifdefedOutBlocks() const;
|
||||
SemanticMarker::Ptr semanticMarker() const;
|
||||
|
||||
signals:
|
||||
void projectPartDetermined(CppTools::ProjectPart::Ptr projectPart);
|
||||
|
||||
private:
|
||||
void updateHelper(const BaseEditorDocumentParser::InMemoryInfo &info) override;
|
||||
|
||||
SemanticMarker::Ptr m_marker;
|
||||
void updateHelper(const BaseEditorDocumentParser::InMemoryInfo &) override;
|
||||
};
|
||||
|
||||
} // namespace ClangCodeModel
|
||||
|
||||
Reference in New Issue
Block a user