https://llvm.org/bugs/show_bug.cgi?id=30527
Bug ID: 30527
Summary: Regression: clang-format inserts spaces in [] in some
cases
Product: clang
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Formatter
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
Classification: Unclassified
thakis@thakis:~/src/chrome/src$ cat test.cc
void f() {
{
std::unique_ptr<v8::Local<v8::Value>[]> arguments =
wrapArrayUnique(new v8::Local<v8::Value>[info.Length()]);
}
}
thakis@thakis:~/src/chrome/src$ buildtools/linux64/clang-format test.cc
void f() {
{
std::unique_ptr<v8::Local<v8::Value>[]> arguments =
wrapArrayUnique(new v8::Local<v8::Value>[ info.Length() ]);
}
}
Note the unnecessary spaces inside []. This worked fine at r258123 but is
broken at r282138. (That's a months-wide regression range, so not sure if
that's very useful, but it used to work at some point.)
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs