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:
Christian Kandeler
2023-08-22 14:10:22 +02:00
parent 73c5cf29c4
commit b33b99e2d9
13 changed files with 82 additions and 1 deletions

View File

@@ -90,6 +90,7 @@ void ClangCodeModelPlugin::initialize()
addTest<Tests::ClangdTestFindReferences>();
addTest<Tests::ClangdTestFollowSymbol>();
addTest<Tests::ClangdTestHighlighting>();
addTest<Tests::ClangdTestIndirectChanges>();
addTest<Tests::ClangdTestLocalReferences>();
addTest<Tests::ClangdTestTooltips>();
addTest<Tests::ClangFixItTest>();