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

Doxygen block auto generation does not trigger if a function parameter is initialized with = {}

    XMLWordPrintable

Details

    • All
    • 98b341b7c (11.0)

    Description

      If a function argument is initialized with = {} then the auto doxygen block generation via /** + ENTER does not trigger the generation of a doxygen block.

      Example code:

       

      struct test_struct {
          bool test_member = false;
      };
      
      void test_func(const test_struct& cfg = {}); //Does not work
      
      void test_func(const test_struct& cfg); //Works and generates all the @brief and @param stuff

       

       

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            foobarsky Alex S
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes