https://llvm.org/bugs/show_bug.cgi?id=31648
Bug ID: 31648 Summary: Inconsistent formatting for variable in parenthesis followed by multiplication Product: clang Version: trunk Hardware: PC OS: Windows NT Status: NEW Severity: normal Priority: P Component: Formatter Assignee: unassignedclangb...@nondot.org Reporter: roland.sch...@intel.com CC: djas...@google.com, kli...@google.com, llvm-bugs@lists.llvm.org Classification: Unclassified The statement int x=(a)*2; gets formatted as: int x = (a)*2; when it should get formatted as: int x = (a) * 2; Given that all similar statement such as "a*2" or "2*(a)" do get formatted with the space around the multiplication. Present both in trunk as well as in 3.9. -- 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