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 ------------------------------------------
Draft patch here: https://reviews.llvm.org/D103589