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

Wrong indentation after expanded macro that contains semicolon

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important 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

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

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

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes