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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • 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)

    Description

      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 {}
      

      Attachments

        Issue Links

          For Gerrit Dashboard: QTCREATORBUG-11849
          # Subject Branch Project Status CR V

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes