aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Format/ConfigParseTest.cpp
diff options
context:
space:
mode:
authorowenca <owenpiano@gmail.com>2025-09-22 00:07:14 -0700
committerGitHub <noreply@github.com>2025-09-22 00:07:14 -0700
commit583256d165cb8dd9efe144866b245a2e5b7d5125 (patch)
treef69110cd5594910a5deb8625478cf22ccc2a9cfd /clang/unittests/Format/ConfigParseTest.cpp
parent322b9902679e86466893ed0462b810616ee93edf (diff)
downloadllvm-583256d165cb8dd9efe144866b245a2e5b7d5125.zip
llvm-583256d165cb8dd9efe144866b245a2e5b7d5125.tar.gz
llvm-583256d165cb8dd9efe144866b245a2e5b7d5125.tar.bz2
[clang-format] Add AllowBreakBeforeQtProperty option (#159909)
The test cases are adapted from #131605.
Diffstat (limited to 'clang/unittests/Format/ConfigParseTest.cpp')
-rw-r--r--clang/unittests/Format/ConfigParseTest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/unittests/Format/ConfigParseTest.cpp b/clang/unittests/Format/ConfigParseTest.cpp
index 7c993c0..bb4d38b 100644
--- a/clang/unittests/Format/ConfigParseTest.cpp
+++ b/clang/unittests/Format/ConfigParseTest.cpp
@@ -161,6 +161,7 @@ TEST(ConfigParseTest, ParsesConfigurationBools) {
Style.Language = FormatStyle::LK_Cpp;
CHECK_PARSE_BOOL(AllowAllArgumentsOnNextLine);
CHECK_PARSE_BOOL(AllowAllParametersOfDeclarationOnNextLine);
+ CHECK_PARSE_BOOL(AllowBreakBeforeQtProperty);
CHECK_PARSE_BOOL(AllowShortCaseExpressionOnASingleLine);
CHECK_PARSE_BOOL(AllowShortCaseLabelsOnASingleLine);
CHECK_PARSE_BOOL(AllowShortCompoundRequirementOnASingleLine);