[llvm-bugs] [Bug 29100] New: AlignConsecutiveDeclarations is broken for template parameters

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Aug 23 02:10:06 PDT 2016


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: unassignedclangbugs at nondot.org
          Reporter: gonzalobg88 at gmail.com
                CC: djasper at google.com, klimek at google.com,
                    llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160823/1f966181/attachment.html>


More information about the llvm-bugs mailing list