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

Clang Format brokes when initializing vector

    XMLWordPrintable

Details

    • Windows
    • 17693bc415 (qt-creator/qt-creator/qds-dev) 17693bc415 (qt-creator/qt-creator/9.0)

    Description

      Clang Format make things ugly when I using some vector initializations (you can watch it in the image below), but if I turn the plugin off, the formatting becomes good.

      Attachments

        1. clang_format.png
          clang_format.png
          12 kB
        2. default_formatting_without_clang.png
          default_formatting_without_clang.png
          12 kB
        3. main.cpp
          0.2 kB
        4. my_main.cpp
          0.3 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            artem.sokolovskii Artem Sokolovskii
            alexnevskiy Alex Nevskiy
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes