Skip to content
Unverified Commit 27f54796 authored by kadir çetinkaya's avatar kadir çetinkaya Committed by GitHub
Browse files

[clang-format] Break after string literals with trailing line breaks (#76795)

This restores a subset of functionality that was forego in
d68826df.

Streaming multiple string literals is rare enough in practice, hence
that change makes sense in general. But it seems people were
incidentally relying on this for having line breaks after string
literals that ended with `\n`.

This patch tries to restore that behavior to prevent regressions in the
upcoming LLVM release, until we can implement some configuration based
approach as proposed in https://github.com/llvm/llvm-project/pull/69859.
parent 0ba868db
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment