https://llvm.org/bugs/show_bug.cgi?id=27198
Bug ID: 27198
Summary: clang-format inserts incorrect space between (foo)bar
cast if bar is "this"
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 .clang-format
BasedOnStyle: Google
thakis@thakis:~/src/chrome/src$ ~/src/llvm-build/bin/clang-format test.cc
int main() {
hwnd_ = foo(current_module(), (DLGPROC)DialogProc, (LPARAM) this);
}
Note the incorrect space between "(LPARAM)" and "this").
--
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