Clean up clang-format tech debt.
authorManuel Klimek <klimek@google.com>
Wed, 24 Nov 2021 11:17:19 +0000 (12:17 +0100)
committerManuel Klimek <klimek@google.com>
Wed, 24 Nov 2021 11:58:35 +0000 (12:58 +0100)
commit1b5a43ac3f1113cd0512752e021fc70740726698
tree49a09e796939277d056f7a334a808604d300e26e
parent2191d502a8576c5d46f8771d5f0d353eb525b9b9
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.
clang/lib/Format/UnwrappedLineParser.cpp