Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-1866

Indentation of initialization list with commas at the start of the line

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • Qt Creator 2.1.0
    • None
    • Editors
    • None
    • d292eca5f671c3f6ddac905165359696b357549f

    Description

      Preferred place:

          CompletionItem(ICompletionCollector *collector = 0) 
              : duplicateCount(0) 
              | 
              , order(0) 
              , collector(collector) 
          { } 
      

      Actual place (probably cause it only handles case of comma at the end of the line, in which case this is correct):

          CompletionItem(ICompletionCollector *collector = 0) 
              : duplicateCount(0) 
                | 
              , order(0) 
              , collector(collector) 
          { } 
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ckamm Christian Kamm
            lindeije Thorbjørn Lindeijer (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes