diff options
author | Itamar <itamar8910@gmail.com> | 2021-03-13 09:50:33 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-03-13 10:17:02 +0100 |
commit | 7bf6eca9d81ca5ac4176a4533c8bf3cce03252dc (patch) | |
tree | 20857932fa5006afc977d1060722edb0ff49313e /Userland/Libraries/LibCpp/Preprocessor.h | |
parent | 5b22f6f45a832d7b56fd1a9a566aeb35072c6972 (diff) | |
download | serenity-7bf6eca9d81ca5ac4176a4533c8bf3cce03252dc.zip |
LanguageServers/Cpp: Complete Preprocessor definitions
Preprocessor definitions now appear in the AutoComplete suggestions box
as well as in the Locator.
Diffstat (limited to 'Userland/Libraries/LibCpp/Preprocessor.h')
-rw-r--r-- | Userland/Libraries/LibCpp/Preprocessor.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibCpp/Preprocessor.h b/Userland/Libraries/LibCpp/Preprocessor.h index e5702b396a..3ae0d35083 100644 --- a/Userland/Libraries/LibCpp/Preprocessor.h +++ b/Userland/Libraries/LibCpp/Preprocessor.h @@ -43,6 +43,8 @@ public: struct DefinedValue { Optional<StringView> value; + size_t line {0}; + size_t column {0}; }; using Definitions = HashMap<StringView, DefinedValue>; |