https://bugs.llvm.org/show_bug.cgi?id=50429
Bug ID: 50429
Summary: missing space between * and a variable
Product: clang
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: Formatter
Assignee: unassignedclangb...@nondot.org
Reporter: hly1...@qq.com
CC: djas...@google.com, kli...@google.com,
llvm-bugs@lists.llvm.org
It seems that the `*` at the end was formatted with no space after it.
------------------------------------------
std::pair<int, int> crt2(int a, int m1, int b, int m2) {
return std::make_pair(int(ll(b + m2 - a % m2) % m2 * inv_mod(m1, m2) % m2 *
m1 + a), m1 *m2);
}
------------------------------------------
With the following settings:
------------------------------------------
BasedOnStyle: LLVM
Standard: Cpp11
PointerAlignment: Right
UseTab: Never
IndentWidth: 2
AccessModifierOffset: -2
AllowShortIfStatementsOnASingleLine: true
AlwaysBreakTemplateDeclarations: false
AllowShortLoopsOnASingleLine: true
ColumnLimit: 100
------------------------------------------
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs