Skip to content

clang-analyzer-* checks are missing in --enable-check-profile clang-tidy output #73673

Open
@firewave

Description

@firewave
$ clang-tidy -checks='-*,clang-analyzer-*,modernize-use-nullptr' -p ../cmake.out --enable-check-profile utils.cpp
===-------------------------------------------------------------------------===
                          clang-tidy checks profiling
===-------------------------------------------------------------------------===
  Total Execution Time: 0.3511 seconds (0.3519 wall clock)

   ---User Time---   --System Time--   --User+System--   ---Wall Time---  --- Name ---
   0.2739 (100.0%)   0.0771 (100.0%)   0.3511 (100.0%)   0.3519 (100.0%)  modernize-use-nullptr
   0.2739 (100.0%)   0.0771 (100.0%)   0.3511 (100.0%)   0.3519 (100.0%)  Total

I assume this is since the static analyzer checks are using a different framework.

It would be very helpful though if those checks could also produce the data for the internal profiling.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions