[clang] [clang-format] Fix a crash in formatting unbalanced angle brackets (PR #173456)
Björn Schäpers via cfe-commits
cfe-commits at lists.llvm.org
Wed Dec 24 04:58:54 PST 2025
================
@@ -29053,6 +29053,11 @@ TEST_F(FormatTest, KeywordedFunctionLikeMacros) {
Style);
}
+TEST_F(FormatTest, UnbalancedAngleBrackets) {
+ verifyNoCrash("typename foo<bar>::value, const String &>::type f();",
----------------
HazardyKnusperkeks wrote:
For me you said, I should use `verifyFormat`, why not here?
https://github.com/llvm/llvm-project/pull/173456
More information about the cfe-commits
mailing list