[llvm-bugs] [Bug 34823] New: Function pointers with calling conventions not spaced correctly

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Oct 3 18:19:23 PDT 2017


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

            Bug ID: 34823
           Summary: Function pointers with calling conventions not spaced
                    correctly
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Formatter
          Assignee: unassignedclangbugs at nondot.org
          Reporter: smeenai at fb.com
                CC: compnerd at compnerd.org, djasper at google.com,
                    klimek at google.com, llvm-bugs at lists.llvm.org

% echo 'void (__stdcall *f)(void);' | clang-format
void(__stdcall *f)(void);

The space between the type and pointer name gets dropped if the pointer has a
calling convention. It works as expected without the calling convention.

-- 
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/20171004/629b4d14/attachment-0001.html>


More information about the llvm-bugs mailing list