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

qdoc: incorrect handling of '#if defined' preprocessor statement

    XMLWordPrintable

Details

    Description

      The following check should resolve to true:

      #if QT_DEPRECATED_SINCE(5, 11) && !defined QT_NO_TEXTDATE
      

      Because QT_NO_TEXTDATE is not in qdoc's 'defines' variable, and QT_DEPRECATED_SINCE(.) is *not in 'falsehoods'. However, it resolves to false - this is because qdoc expects defined condition to be wrapped in parentheses, which is always isn't.

      Attachments

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

        Activity

          People

            treinio Topi Reiniƶ
            treinio Topi Reiniƶ
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes