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

indentation on "modern" c++ constructs is broken

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • None
    • Qt Creator 4.9.2
    • Editors
    • None

    Description

      auto [a, b] = fun();
      auto gun()->std::vector<std::vector<int>> {
      }
      

      break indentation badly. There are more examples but those two are the most annoying.

      Attachments

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

        Activity

          People

            davschul David Schulz
            Kot-Zadrot Slava
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes