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: unassignedclangb...@nondot.org
          Reporter: blackhors...@mail.ru
                CC: djas...@google.com, kli...@google.com,
                    llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to