[clang-format] Fix regressions in WhitespaceSensitiveMacros
authorowenca <owenpiano@gmail.com>
Tue, 16 Aug 2022 23:30:40 +0000 (16:30 -0700)
committerowenca <owenpiano@gmail.com>
Tue, 23 Aug 2022 03:42:54 +0000 (20:42 -0700)
commit2e36120726ee46cbfd3eee1e9244bdd756dee92d
treea44d1eb4e6584a55e55176c1bd1cfd4a15c23778
parentf148f3b2e915eece0a6c0bad13d31ab25e635d8d
[clang-format] Fix regressions in WhitespaceSensitiveMacros

Fixes #54522.
Fixes #57158.

Differential Revision: https://reviews.llvm.org/D132001
clang/lib/Format/UnwrappedLineParser.cpp
clang/unittests/Format/FormatTest.cpp
clang/unittests/Format/TokenAnnotatorTest.cpp