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

'Unnecessary semicolon after block' warning => wrong indentation next line

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4: Low
    • Qt Creator 10.0.0-beta1
    • Qt Creator 1.3.83 (2.0.0-beta)
    • C/C++/Obj-C++ Support
    • None
    • Debian + Official beta of Qt Creator
    • 17e0886c69a3d2c317f8e146d9a7b02f3cfc0498

    Description

      Using CUnit, using macros and appending a semicolon results in Qt Creator warning "Unnecessary semicolon after block". But removing the semicolon results in Qt Creator to indent the subsequent line of code as if the previous line was not completed.

      Attached is an example of this with default indentation. All asserts should clearly be in one column.

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            adamm Adam Majer
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes