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

            Bug ID: 26663
           Summary: Formatter eats space in front of attributes for
                    `operator delete`
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Formatter
          Assignee: unassignedclangb...@nondot.org
          Reporter: nicolaswe...@gmx.de
                CC: djas...@google.com, kli...@google.com,
                    llvm-bugs@lists.llvm.org
    Classification: Unclassified

This works:

$ echo 'void operator new(void* foo) ATTRIB;' | bin/clang-format -
void operator new(void *foo) ATTRIB;

This doesn't:

$ echo 'void operator delete(void* foo) ATTRIB;' | bin/clang-format -
void operator delete(void *foo)ATTRIB;

Note the missing space in front of ATTRIB.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to