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: unassignedclangb...@nondot.org
          Reporter: nicolaswe...@gmx.de
                CC: djas...@google.com, kli...@google.com,
                    llvm-bugs@lists.llvm.org
    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
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to