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

Cppcheck: support analyzing files outside of a base directory (as with Clang-Tidy and Clazy)

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P4: Low
    • None
    • Qt Creator 4.14.1
    • All Other Issues
    • None
    • All

    Description

      If we have structure (attached) like this:

       

      .
      ├── apps
      │   └── CppCheckExample
      │       ├── CMakeLists.txt
      │       └── main.cpp
      └── libs
          └── libFoo
              ├── CMakeLists.txt
              ├── include
              │   └── foo
              │       └── Foo.h
              └── src
                  └── Foo.cpp

      ...and open apps/CppCheckExample/CMakeLists.txt, we can execute Clang-Tidy and Clazy check for dependency (libFoo) outside of base directory too:

      Meanwhile with Cppcheck there's no such option:

      P.S. it seems Jira does not have Cppcheck analyzer component created, only Clang & Clazy.

       

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            talkless Vincas Dargis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes