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

Oza, Hiral via llvm-dev
Wed, 15 Sep 2021 07:09:11 -0000

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/llvm-dev/attachments/20210915/2e158995/attachment.html>