diff options
Diffstat (limited to 'lld/ELF/ScriptLexer.h')
-rw-r--r-- | lld/ELF/ScriptLexer.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/lld/ELF/ScriptLexer.h b/lld/ELF/ScriptLexer.h index 19ec3a8234c..98e4cac95a7 100644 --- a/lld/ELF/ScriptLexer.h +++ b/lld/ELF/ScriptLexer.h @@ -20,25 +20,25 @@ namespace elf { class ScriptLexer { public: - explicit ScriptLexer(MemoryBufferRef MB); + explicit ScriptLexer(MemoryBufferRef mb); - void setError(const Twine &Msg); - void tokenize(MemoryBufferRef MB); - static StringRef skipSpace(StringRef S); + void setError(const Twine &msg); + void tokenize(MemoryBufferRef mb); + static StringRef skipSpace(StringRef s); bool atEOF(); StringRef next(); StringRef peek(); StringRef peek2(); void skip(); - bool consume(StringRef Tok); - void expect(StringRef Expect); - bool consumeLabel(StringRef Tok); + bool consume(StringRef tok); + void expect(StringRef expect); + bool consumeLabel(StringRef tok); std::string getCurrentLocation(); - std::vector<MemoryBufferRef> MBs; - std::vector<StringRef> Tokens; - bool InExpr = false; - size_t Pos = 0; + std::vector<MemoryBufferRef> mbs; + std::vector<StringRef> tokens; + bool inExpr = false; + size_t pos = 0; private: void maybeSplitExpr(); |