[cfe-dev] clang-tidy: identify "C++-code-specific-checks" and "C-Code-specific-checks"

Oza, Hiral via cfe-dev cfe-dev at lists.llvm.org
Wed Sep 15 00:09:11 PDT 2021


Greetings!

We are using clang-tidy with single 'config-file' listing enabled tidy-checks to run for both "C++-code" and "C-code".

We are looking for your inputs:

  1.  From list of supported clang-tidy checks, how to identify "C++-code-specific-checks" and which are "C-Code-specific-checks"? Can this be checked programmatically?
  2.  Are "clang-analyzer-" checks only applied to C++-code?
  3.  What happens internally if C++-code-check ran on C-code? Will it skip parsing C-code?

Thank you in advance for your valuable inputs.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20210915/2e158995/attachment-0001.html>


More information about the cfe-dev mailing list