[all-commits] [llvm/llvm-project] 53cc90: Make FormatToken::Type private.

r4nt via All-commits all-commits at lists.llvm.org
Wed May 13 07:41:26 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 53cc90f789996d1e1edc6a9233a85ce8d658aadd
      https://github.com/llvm/llvm-project/commit/53cc90f789996d1e1edc6a9233a85ce8d658aadd
  Author: Manuel Klimek <klimek at google.com>
  Date:   2020-05-13 (Wed, 13 May 2020)

  Changed paths:
    M clang/lib/Format/Format.cpp
    M clang/lib/Format/FormatToken.cpp
    M clang/lib/Format/FormatToken.h
    M clang/lib/Format/FormatTokenLexer.cpp
    M clang/lib/Format/TokenAnnotator.cpp
    M clang/lib/Format/UnwrappedLineParser.cpp

  Log Message:
  -----------
  Make FormatToken::Type private.

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.

Differential Revision: https://reviews.llvm.org/D67405




More information about the All-commits mailing list