This is an archive of the discontinued LLVM Phabricator instance.

Hand Allocator and IdentifierTable into FormatTokenLexer.
ClosedPublic

Authored by klimek on Jul 6 2020, 5:46 AM.

Details

Summary

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

Diff Detail

Event Timeline

klimek created this revision.Jul 6 2020, 5:46 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 6 2020, 5:46 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
sammccall accepted this revision.Jul 7 2020, 1:42 AM
sammccall added inline comments.
clang/lib/Format/FormatTokenLexer.h
122

this seems a little odd, like it fit better where it was, up to you.

This revision is now accepted and ready to land.Jul 7 2020, 1:42 AM
klimek updated this revision to Diff 275964.Jul 7 2020, 2:53 AM

Address review comment.

This revision was automatically updated to reflect the committed changes.
klimek marked an inline comment as done.Jul 7 2020, 3:02 AM