diff options
author | Owen Pan <owenpiano@gmail.com> | 2024-05-27 15:20:58 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-27 15:20:58 -0700 |
commit | dba2aa265c5f2ef774c2812cf6ffdea8dd784e09 (patch) | |
tree | 6989e0b77f93696551f39d5d0d86bedd35321b77 /clang/unittests/Format/ConfigParseTest.cpp | |
parent | 434ee06d77613df23a2ece62a62bcd62c13121d2 (diff) | |
download | llvm-dba2aa265c5f2ef774c2812cf6ffdea8dd784e09.zip llvm-dba2aa265c5f2ef774c2812cf6ffdea8dd784e09.tar.gz llvm-dba2aa265c5f2ef774c2812cf6ffdea8dd784e09.tar.bz2 |
[clang-format] Add LeftWithLastLine to AlignEscapedNewlines option (#93402)
Closes #92999.
Diffstat (limited to 'clang/unittests/Format/ConfigParseTest.cpp')
-rw-r--r-- | clang/unittests/Format/ConfigParseTest.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/unittests/Format/ConfigParseTest.cpp b/clang/unittests/Format/ConfigParseTest.cpp index 82e72f0..ff3ced3 100644 --- a/clang/unittests/Format/ConfigParseTest.cpp +++ b/clang/unittests/Format/ConfigParseTest.cpp @@ -480,6 +480,8 @@ TEST(ConfigParseTest, ParsesConfiguration) { FormatStyle::ENAS_DontAlign); CHECK_PARSE("AlignEscapedNewlines: Left", AlignEscapedNewlines, FormatStyle::ENAS_Left); + CHECK_PARSE("AlignEscapedNewlines: LeftWithLastLine", AlignEscapedNewlines, + FormatStyle::ENAS_LeftWithLastLine); CHECK_PARSE("AlignEscapedNewlines: Right", AlignEscapedNewlines, FormatStyle::ENAS_Right); // For backward compatibility: |