[clang] [clang-format] Fix greatergreater (PR #122282)

Owen Pan via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 14 22:56:36 PST 2025


================
@@ -28188,6 +28188,17 @@ TEST_F(FormatTest, BreakBinaryOperations) {
                "                  | byte_buffer[2] << 16\n"
                "                  | byte_buffer[3] << 24;",
                Style);
----------------
owenca wrote:

```suggestion
               Style);

  verifyFormat("std::cin >> longOperand_1 >> longOperand_2\n"
               "    >> longOperand_3;",
               Style);
```
This test case, which is a minimum reproducer of #106228, would still fail.

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


More information about the cfe-commits mailing list