[clang-format] Fixed handling of requires clauses followed by attributes
authorBjörn Schäpers <bjoern@hazardy.de>
Tue, 15 Feb 2022 21:59:23 +0000 (22:59 +0100)
committerBjörn Schäpers <bjoern@hazardy.de>
Sun, 20 Feb 2022 21:33:26 +0000 (22:33 +0100)
commitbe9a7fdd6a8aec669bcb1f6a68087ab4a70ddb2e
tree50e26ee83d7fbc4620c0049d75128ec0bb0ac261
parent4701bcae974704a336ac8e111d5b104f4834099c
[clang-format] Fixed handling of requires clauses followed by attributes

Fixes https://github.com/llvm/llvm-project/issues/53820.

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