[llvm-bugs] [Bug 27198] New: clang-format inserts incorrect space between (foo)bar cast if bar is "this"
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Apr 4 08:36:22 PDT 2016
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: unassignedclangbugs at nondot.org
Reporter: nicolasweber at gmx.de
CC: djasper at google.com, klimek at google.com,
llvm-bugs at lists.llvm.org
Classification: Unclassified
thakis at thakis:~/src/chrome/src$ cat .clang-format
BasedOnStyle: Google
thakis at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160404/836f2425/attachment.html>
More information about the llvm-bugs
mailing list