summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibCpp/Parser.h
diff options
context:
space:
mode:
authorItamar <itamar8910@gmail.com>2021-05-07 14:46:11 +0300
committerAndreas Kling <kling@serenityos.org>2021-05-09 20:58:27 +0200
commit5c42dc854d98e43e99fa6c4c910c2e819a200a15 (patch)
tree704e98d3b65d981fb92f19826c1babb49c7e99ce /Userland/Libraries/LibCpp/Parser.h
parentde9be7cd704171f1a150a2fdb7497df83a162b85 (diff)
downloadserenity-5c42dc854d98e43e99fa6c4c910c2e819a200a15.zip
LibCpp: Rename m_definitions=>m_preprocessor_definitions
Diffstat (limited to 'Userland/Libraries/LibCpp/Parser.h')
-rw-r--r--Userland/Libraries/LibCpp/Parser.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibCpp/Parser.h b/Userland/Libraries/LibCpp/Parser.h
index 90107c398d..6296722946 100644
--- a/Userland/Libraries/LibCpp/Parser.h
+++ b/Userland/Libraries/LibCpp/Parser.h
@@ -34,7 +34,7 @@ public:
StringView text_of_token(const Cpp::Token& token) const;
void print_tokens() const;
const Vector<String>& errors() const { return m_state.errors; }
- const Preprocessor::Definitions& definitions() const { return m_definitions; }
+ const Preprocessor::Definitions& preprocessor_definitions() const { return m_preprocessor_definitions; }
struct TokenAndPreprocessorDefinition {
Token token;
@@ -169,7 +169,7 @@ private:
Vector<StringView> parse_type_qualifiers();
Vector<StringView> parse_function_qualifiers();
- Preprocessor::Definitions m_definitions;
+ Preprocessor::Definitions m_preprocessor_definitions;
String m_filename;
Vector<Token> m_tokens;
State m_state;