forked from qt-creator/qt-creator
ClangCodeModel: Take changes from header files into account immediately
... in the dependent sources. That's also how the built-in code model behaves, but clangd itself only does this when a document is saved. Change-Id: I52d6badb0b7f063e5924c05dbf83a6e9849c9f6f Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -22,7 +22,6 @@ public:
|
||||
void setParserConfig(const CppEditor::BaseEditorDocumentParser::Configuration &config) override;
|
||||
CppEditor::BaseEditorDocumentParser::Configuration parserConfig();
|
||||
|
||||
public:
|
||||
static ClangEditorDocumentProcessor *get(const Utils::FilePath &filePath);
|
||||
|
||||
signals:
|
||||
@@ -30,6 +29,8 @@ signals:
|
||||
const CppEditor::BaseEditorDocumentParser::Configuration &config);
|
||||
|
||||
private:
|
||||
void forceUpdate(TextEditor::TextDocument *doc) override;
|
||||
|
||||
TextEditor::TextDocument &m_document;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user