Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-53093

qdoc can't parse this: \fn QSharedPointer QSharedPointer::create(Args &&... arguments)

    XMLWordPrintable

Details

    Description

      It is the appearance of the '&&' followed by the '...'. qdoc's old parser can't recognize it. Although we are switching to clang, qdoc still uses it's old parser to parse the \fn command.

      Proposal: Let's require that the \fn command be an exact copy of the function declaration, except for the class qualifier, i.e.

      returnType ClassName::funcName( parameters )

      Then if clang provides the exact signature to qdoc, qdoc canretain it and use string matching to search for it using the string from the \fn command.

      Attachments

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

        Activity

          People

            gbk Martin Smith (Qt)
            gbk Martin Smith (Qt)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes