ClangCodeModel: Support setting additional preprocessor directives

... for a document.
This was only ever implemented for the built-in code model.

Fixes: QTCREATORBUG-20423
Change-Id: Ia99d0136e9995a5626058ad06173ea077be024d8
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Christian Kandeler
2022-09-08 15:27:55 +02:00
parent fbd4775f89
commit f7efefb6d4
7 changed files with 54 additions and 35 deletions

View File

@@ -114,6 +114,7 @@ signals:
const Utils::FilePath &file);
void proposalReady(TextEditor::IAssistProposal *proposal);
void textMarkCreated(const Utils::FilePath &file);
void configChanged();
private:
void handleDiagnostics(const LanguageServerProtocol::PublishDiagnosticsParams &params) override;