[llvm-bugs] [Bug 30957] New: const is stuck to postfix increment/decrement

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Nov 8 23:39:05 PST 2016


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

            Bug ID: 30957
           Summary: const is stuck to postfix increment/decrement
           Product: clang
           Version: 3.9
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Formatter
          Assignee: unassignedclangbugs at nondot.org
          Reporter: blackhorseam at mail.ru
                CC: djasper at google.com, klimek at google.com,
                    llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 17571
  --> https://llvm.org/bugs/attachment.cgi?id=17571&action=edit
formatting options

The following code:

class A
{
  A& operator++();
  A operator++(int) const;
  A& operator--();
  A operator--(int) const;
};

is formatted as

class A
{
    A& operator++();
    A operator++(int)const;
    A& operator--();
    A operator--(int)const;
};

-- 
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/20161109/06a5ea51/attachment.html>


More information about the llvm-bugs mailing list