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

Refactor -> Add Definition in "xxx.cpp" doesn't add noexcept

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • Qt Creator 4.11.0-beta1
    • Qt Creator 3.1.0-beta
    • C/C++/Obj-C++ Support
    • None
    • Arch Linux 64bit : extra/qtcreator 3.1.0beta1-1
    • 54fefd89b86f9b7c3496317bcfcf3882ff72e67c (qt-creator/qt-creator/4.11)

      dummy.h
      class dummy {
      	dummy() const noexcept;
      };
      

      Right click dummy() -> Refactor -> Add definition to dummy.cpp

      Results :

      dummy.cpp
      dummy::dummy() const {}
      

      Expected :

      dummy.cpp
      dummy::dummy() const noexcept {}
      

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

            kosjar Nikolai Kosjar
            oneofone Ahmed W.
            Votes:
            4 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes