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/lib/Format/Format.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/lib/Format/Format.cpp')
-rw-r--r-- | clang/lib/Format/Format.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/Format/Format.cpp b/clang/lib/Format/Format.cpp index 2f4b64e..5a1c3f5 100644 --- a/clang/lib/Format/Format.cpp +++ b/clang/lib/Format/Format.cpp @@ -1100,7 +1100,6 @@ template <> struct MappingTraits<FormatStyle> { IO.mapOptional("ObjCSpaceAfterProperty", Style.ObjCSpaceAfterProperty); IO.mapOptional("ObjCSpaceBeforeProtocolList", Style.ObjCSpaceBeforeProtocolList); - IO.mapOptional("OneLineFormatOffRegex", Style.OneLineFormatOffRegex); IO.mapOptional("PackConstructorInitializers", Style.PackConstructorInitializers); IO.mapOptional("PenaltyBreakAssignment", Style.PenaltyBreakAssignment); |