Clang: Request diagnostics/highlighting only if needed
Most of the time, the updated diagnostics/highlightings will be send by
the backend on translation unit update.
The other use case is changing the font settings (e.g. color), here we
need to request the highlightings explicitly.
Change-Id: I17a574eaf972c8bef12900241e7b33fe6ffd9dbd
Reviewed-by:
Marco Bubke <marco.bubke@theqtcompany.com>
Showing
- src/plugins/clangcodemodel/clangbackendipcintegration.cpp 10 additions, 18 deletionssrc/plugins/clangcodemodel/clangbackendipcintegration.cpp
- src/plugins/clangcodemodel/clangbackendipcintegration.h 4 additions, 7 deletionssrc/plugins/clangcodemodel/clangbackendipcintegration.h
- src/plugins/clangcodemodel/clangeditordocumentprocessor.cpp 33 additions, 37 deletionssrc/plugins/clangcodemodel/clangeditordocumentprocessor.cpp
- src/plugins/clangcodemodel/clangeditordocumentprocessor.h 6 additions, 6 deletionssrc/plugins/clangcodemodel/clangeditordocumentprocessor.h
- src/plugins/clangcodemodel/clangmodelmanagersupport.cpp 2 additions, 2 deletionssrc/plugins/clangcodemodel/clangmodelmanagersupport.cpp
Loading
Please register or sign in to comment