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

Wrong indentation after assignation : x[y=z]

    XMLWordPrintable

    Details

      Description

      The following code breaks indentation for the rest of the file, after the x[p=n] line :

      int main()
      {
        int x[1];
        int p=0, n=0;
        x[p=n];
            if(1) {
        }
      }

      I'm using the clang code model if it can be of any use.

        Attachments

          Issue Links

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

            Activity

              People

              • Assignee:
                yvvan Ivan Donchevskii
                Reporter:
                jcelerier Jean-Michaël Celerier
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes