[llvm-bugs] [Bug 26204] New: Feature request: Align consecutive #define macros

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jan 19 01:15:59 PST 2016


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

            Bug ID: 26204
           Summary: Feature request: Align consecutive #define macros
           Product: clang
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Formatter
          Assignee: unassignedclangbugs at nondot.org
          Reporter: eycohen at airspan.com
                CC: djasper at google.com, klimek at google.com,
                    llvm-bugs at lists.llvm.org
    Classification: Unclassified

Hello.

Just like there's AlignConsecutiveAssignments, I'd like to do the same for
#defines.

Example:
#define LWR_A 1
#define LWR_AAA 2
#define LWR_AAAA 4
#define LWR_BB 8
#define LWR_BBAA 16

Should become:
#define LWR_A    1
#define LWR_AAA  2
#define LWR_AAAA 4
#define LWR_BB   8
#define LWR_BBAA 16

Thank you.

-- 
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/20160119/db455703/attachment.html>


More information about the llvm-bugs mailing list