Commit 25bb8411 authored by Marco Bubke's avatar Marco Bubke

Clang: Add ClangEditorDocumentProcessor::hasProjectPart

Change-Id: Ie08c44315c9d03434384a1fa0b276e22f45a2107
Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@theqtcompany.com>
parent 97b64f67
......@@ -174,6 +174,11 @@ bool ClangEditorDocumentProcessor::isParserRunning() const
return m_parserWatcher.isRunning();
}
bool ClangEditorDocumentProcessor::hasProjectPart() const
{
return m_projectPart;
}
CppTools::ProjectPart::Ptr ClangEditorDocumentProcessor::projectPart() const
{
return m_projectPart;
......
......@@ -68,6 +68,7 @@ public:
CPlusPlus::Snapshot snapshot() override;
bool isParserRunning() const override;
bool hasProjectPart() const;
CppTools::ProjectPart::Ptr projectPart() const;
void updateCodeWarnings(const QVector<ClangBackEnd::DiagnosticContainer> &diagnostics,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment