OSDN Git Service

Hand Allocator and IdentifierTable into FormatTokenLexer.
authorManuel Klimek <klimek@google.com>
Mon, 6 Jul 2020 12:02:54 +0000 (14:02 +0200)
committerManuel Klimek <klimek@google.com>
Tue, 7 Jul 2020 09:56:34 +0000 (11:56 +0200)
commit8c2a613976075368a1f6e3ac3c9c8b1927b465ec
tree5a500fef396fa4b4f0b77506897e711b4f917b84
parent74c723757e69fbe7d85e42527d07b728113699ae
Hand Allocator and IdentifierTable into FormatTokenLexer.

This allows us to share the allocator in the future so we can create tokens while parsing.

Differential Revision: https://reviews.llvm.org/D83218
clang/lib/Format/FormatTokenLexer.cpp
clang/lib/Format/FormatTokenLexer.h
clang/lib/Format/TokenAnalyzer.cpp