LanguageServers/Cpp: Complete Preprocessor definitions

Preprocessor definitions now appear in the AutoComplete suggestions box
as well as in the Locator.
This commit is contained in:
Itamar 2021-03-13 09:50:33 +02:00 committed by Andreas Kling
commit 7bf6eca9d8
Notes: sideshowbarker 2024-07-18 21:25:34 +09:00
6 changed files with 26 additions and 2 deletions

View file

@ -43,6 +43,8 @@ public:
struct DefinedValue {
Optional<StringView> value;
size_t line {0};
size_t column {0};
};
using Definitions = HashMap<StringView, DefinedValue>;