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

            Bug ID: 29100
           Summary: AlignConsecutiveDeclarations is broken for template
                    parameters
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Formatter
          Assignee: unassignedclangb...@nondot.org
          Reporter: gonzalob...@gmail.com
                CC: djas...@google.com, kli...@google.com,
                    llvm-bugs@lists.llvm.org
    Classification: Unclassified

The following:

struct big_return_type_name_here {};

template<int N>
big_return_type_name_here foo() { return {}; }

is aligned as:

template<int              N>
big_return_type_name_here foo() { return {}; }

which is weird.

-- 
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

Reply via email to