[clang] [clang-format][Objective-C] Fix assertion crash on stray '-'/'+' in @interfa… (PR #199104)
Björn Schäpers via cfe-commits
cfe-commits at lists.llvm.org
Fri May 22 12:07:02 PDT 2026
================
@@ -1803,6 +1803,18 @@ TEST_F(FormatTestObjC, AttributesOnObjCProperty) {
"@property(weak) id delegate ATTRIBUTE_MACRO(X) __attribute__((X));");
}
+TEST_F(FormatTestObjC, NoCrashOnStrayMethodSign) {
+ // Issue #199075: clang-format used to assert in parseObjCMethod() when an
----------------
HazardyKnusperkeks wrote:
Drop the comment.
https://github.com/llvm/llvm-project/pull/199104
More information about the cfe-commits
mailing list