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

Valgrind filters out errors from auto-generated sources as external ones

    XMLWordPrintable

Details

    Description

      In our project I use Bison and QueX as a parser and lexer generators, respecitvely. The inconvenience is that memory leaks that orignate from the C++ sources generated by these tools are considered by QtCreator as external errors and are filtered out. So I am forced to enable filter 'External errors' to see them, thus having to delve through the whole bunch of external errors I am not interested in.

      I guess that such an, sat, 'externality' depends on the fact whether the sources are included in the project being analyzed. If so, I'd like to have some means to let the analyzer know that it should consider errors from the sources I specify as relevant for me.

      I could include the auto-generated sources into project, but I think that's a bad idea, because, in fact, real sources are the ones that contain grammar descriptions. I include them into our project as 'Other files' and process them by setting up custom compilers registered via QMAKE_EXTRA_COMPILERS. As for generated files, they are even not committed to the repository, so this can cuase problems for QtCreator, when it loads recently downloaded project.

      Attachments

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

        Activity

          People

            hjk hjk
            dvolosnykh Dmitry Volosnykh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes