https://bugs.llvm.org/show_bug.cgi?id=48916

            Bug ID: 48916
           Summary: PointerAlignment not working when using C++20
                    init-statement in for loop
           Product: clang
           Version: 10.0
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Formatter
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]

Configuration of clang-format:
PointerAlignment: Left

int main() {
  for (auto a = 0, b = 0; const auto &c : {1, 2, 3})
    ;
}

expected:
int main() {
  for (auto a = 0, b = 0; const auto& c : {1, 2, 3})
    ;
}

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to