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

Remove creation of redundant function nodes

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • P2: Important
    • Resolution: Done
    • None
    • 5.7.0 Alpha
    • Build tools: qdoc
    • None
    • qttools: 18fe6a9a5eb4a1c2ce62cd64b42b6db5e581e152

    Description

      qdoc creates a function node each time it parses a function declaration, even when it is parsing a function definition in a .cpp file or a \fn command. qdoc should only create function nodes when it is parsing .h files, and possibly in a few other cases. When qdoc sees a function definition or \fn command in a .cpp file, it should avoid creating a function node, because qdoc already created it when it parsed the function declaration in a .h file.

      Additionally, the "No documentation for..." error should include the parameters when the error refers to a function without documentation.

      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