[llvm-bugs] [Bug 36019] New: Extend IndentPPDirectives with a BeforeHash option

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jan 19 09:39:03 PST 2018


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

            Bug ID: 36019
           Summary: Extend IndentPPDirectives with a BeforeHash option
           Product: clang
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Formatter
          Assignee: unassignedclangbugs at nondot.org
          Reporter: aardappel at gmail.com
                CC: djasper at google.com, klimek at google.com,
                    llvm-bugs at lists.llvm.org

Currently IndentPPDirectives can have values None:

> #ifdef FOO
> #define BAR
> #endif

or AfterHash:

> #ifdef FOO
> #    define BAR
> #endif

I am suggesting to also add BeforeHash:

> #ifdef FOO
>     #define BAR
> #endif

-- 
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/20180119/8943a9e4/attachment.html>


More information about the llvm-bugs mailing list