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

Wrong indentation after assignation : x[y=z]

XMLWordPrintable

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes