[llvm-bugs] [Bug 31595] New: Incorrect formatting of asterisks in function declarations via macro

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jan 9 19:30:26 PST 2017


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

            Bug ID: 31595
           Summary: Incorrect formatting of asterisks in function
                    declarations via macro
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Formatter
          Assignee: unassignedclangbugs at nondot.org
          Reporter: sanjoy at playingwithpointers.com
                CC: djasper at google.com, klimek at google.com,
                    llvm-bugs at lists.llvm.org
    Classification: Unclassified

clang-format reformats this

DECLARE_FN(void,Frobnication,do_something,(SomeState*state,int
hello,void*hello_world))


as

DECLARE_FN(void, Frobnication, do_something,
           (SomeState * state, int hello, void *hello_world))

when I would prefer

DECLARE_FN(void, Frobnication, do_something,
           (SomeState *state, int hello, void *hello_world))

-- 
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/20170110/dd51d7d8/attachment.html>


More information about the llvm-bugs mailing list