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

            Bug ID: 40160
           Summary: Bug with AlignConsecutiveDeclaration in clang-format
           Product: clang
           Version: 7.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Formatter
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]

I thound problem with align of declaration in functions, where past open
bracket is comment. For example:

// cpp file
int fun() { //
  int alfa = 0;
};

// .clang-format file
AlignConsecutiveDeclarations: true

// result
int fun() { //
  intalfa = 0;
};

clang-format version 7.0.1-svn348686-1~exp1~20181211132844.50
(branches/release_70)

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

Reply via email to