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

Wrong indentation after expanded macro that contains semicolon

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • Qt Creator 4.4.0-beta1
    • Qt Creator 2.8.1, Qt Creator 3.0.0, Qt Creator 3.1.0-beta
    • C/C++/Obj-C++ Support
    • None

    Description

      Place the cursor after the opening brace of Foo and press Return.

      #define FOO int foo;
      
      class Bar {};
      
      FOO
      
      class Foo : public Bar
      {
      };

      Attachments

        Issue Links

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

          Activity

            People

              kosjar Nikolai Kosjar
              orgads Orgad Shaneh
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes