[PATCH] D67405: Make FormatToken::Type private.

Manuel Klimek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 10 09:08:11 PDT 2019


klimek created this revision.
klimek added a reviewer: sammccall.
Herald added a project: clang.

This enables us to intercept changes to the token type via setType(), which
is a precondition for being able to use multi-pass formatting for macro
arguments.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D67405

Files:
  clang/lib/Format/Format.cpp
  clang/lib/Format/FormatToken.cpp
  clang/lib/Format/FormatToken.h
  clang/lib/Format/FormatTokenLexer.cpp
  clang/lib/Format/TokenAnnotator.cpp
  clang/lib/Format/UnwrappedLineParser.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67405.219556.patch
Type: text/x-patch
Size: 43913 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190910/d8ab9a60/attachment-0001.bin>


More information about the cfe-commits mailing list