diff options
author | Owen Pan <owenpiano@gmail.com> | 2025-04-30 00:09:29 -0700 |
---|---|---|
committer | Owen Pan <owenpiano@gmail.com> | 2025-04-30 00:12:41 -0700 |
commit | 7752e0a10b25da2f2eadbed10606bd5454dbca05 (patch) | |
tree | 298332e72d270e10c30e6cd7e44a296f61a77add /clang/unittests/Format/ConfigParseTest.cpp | |
parent | 38cb7d5e7591cdfb39d1030480920ec1ce4873c6 (diff) | |
download | llvm-7752e0a10b25da2f2eadbed10606bd5454dbca05.zip llvm-7752e0a10b25da2f2eadbed10606bd5454dbca05.tar.gz llvm-7752e0a10b25da2f2eadbed10606bd5454dbca05.tar.bz2 |
Revert "[clang-format] Add OneLineFormatOffRegex option (#137577)"
This reverts commit b8bb1ccb4f9126d1bc9817be24e17f186a75a08b which triggered
an assertion failure in CodeGenTest.TestNonAlterTest.
Diffstat (limited to 'clang/unittests/Format/ConfigParseTest.cpp')
-rw-r--r-- | clang/unittests/Format/ConfigParseTest.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/unittests/Format/ConfigParseTest.cpp b/clang/unittests/Format/ConfigParseTest.cpp index f7ab554..2b08b79 100644 --- a/clang/unittests/Format/ConfigParseTest.cpp +++ b/clang/unittests/Format/ConfigParseTest.cpp @@ -295,7 +295,6 @@ TEST(ConfigParseTest, ParsesConfiguration) { FormatStyle Style = {}; Style.Language = FormatStyle::LK_Cpp; CHECK_PARSE("CommentPragmas: '// abc$'", CommentPragmas, "// abc$"); - CHECK_PARSE("OneLineFormatOffRegex: // ab$", OneLineFormatOffRegex, "// ab$"); Style.QualifierAlignment = FormatStyle::QAS_Right; CHECK_PARSE("QualifierAlignment: Leave", QualifierAlignment, |