diff options
author | Björn Schäpers <bjoern@hazardy.de> | 2021-03-10 22:08:07 +0100 |
---|---|---|
committer | Björn Schäpers <bjoern@hazardy.de> | 2021-03-28 16:26:27 +0200 |
commit | c5243c63cda3c740d6e9c7e501f6518c21688da3 (patch) | |
tree | 9cced7f97d891c620ed0984b3f4df3f5fe9bfc14 /llvm/lib/IR/Function.cpp | |
parent | 8c6c3578971eb7df9e1080aaa47439111188c1b6 (diff) | |
download | llvm-c5243c63cda3c740d6e9c7e501f6518c21688da3.zip llvm-c5243c63cda3c740d6e9c7e501f6518c21688da3.tar.gz llvm-c5243c63cda3c740d6e9c7e501f6518c21688da3.tar.bz2 |
[clang-format] Fix aligning with linebreaks
Breaking a string literal or a function calls arguments with
AlignConsecutiveDeclarations or AlignConsecutiveAssignments did misalign
the continued line. E.g.:
void foo() {
int myVar = 5;
double x = 3.14;
auto str = "Hello"
"World";
}
or
void foo() {
int myVar = 5;
double x = 3.14;
auto str = "Hello"
"World";
}
Differential Revision: https://reviews.llvm.org/D98214
Diffstat (limited to 'llvm/lib/IR/Function.cpp')
0 files changed, 0 insertions, 0 deletions