[clang] [clang-format] Stop aligning the to continuation lines (PR #76378)

Björn Schäpers via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 12 12:08:57 PST 2024


================
@@ -1304,6 +1304,18 @@ TEST_F(FormatTestCSharp, CSharpGenericTypeConstraints) {
                "}",
                Style);
 
+  // When the where line is not to be formatted, following lines should not take
+  // on its indentation.
+  verifyFormat("class ItemFactory<T>\n"
----------------
HazardyKnusperkeks wrote:

Is there no variant which only takes one string, or do I miss the difference between the to strings?

https://github.com/llvm/llvm-project/pull/76378


More information about the cfe-commits mailing list