[all-commits] [llvm/llvm-project] 1b5a43: Clean up clang-format tech debt.

r4nt via All-commits all-commits at lists.llvm.org
Wed Nov 24 03:58:53 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1b5a43ac3f1113cd0512752e021fc70740726698
      https://github.com/llvm/llvm-project/commit/1b5a43ac3f1113cd0512752e021fc70740726698
  Author: Manuel Klimek <klimek at google.com>
  Date:   2021-11-24 (Wed, 24 Nov 2021)

  Changed paths:
    M clang/lib/Format/UnwrappedLineParser.cpp

  Log Message:
  -----------
  Clean up clang-format tech debt.

Make all code go through FormatTokenSource instead of going around it, which
makes changes to TokenSource brittle.

Add LLVM_DEBUG in FormatTokenSource to be able to follow the token stream.




More information about the All-commits mailing list