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

QQmlSA: better support for analyzing function calls

    XMLWordPrintable

Details

    • 59f3dad76 (dev), f33e26d11 (dev), 9e65c4bcb (dev)

    Description

      qmllint/QQmlSA currently only can analyze function calls via onRead. That's needlessly expensive if you only care about calls (check runs too often), and also makes it needlessly hard to write such checks.

      One problematic aspect is that it's not possible to trace functions that were stored in variables, but that's generally unfeasible, and can be ignored.a

      We should provide public API for this use case at the QQmlSA level. Whether this would become a new pass type or an extension of the ProperyPass API has to be investigated.

      Attachments

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

        Activity

          People

            sami.shalayel Sami Shalayel
            fabiankosmale Fabian Kosmale
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There is 1 open Gerrit change