[PATCH] D111909: [clang-tidy] DefinitionsInHeadersCheck: Added option for checking C Code

Max Schroetter via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 15 15:42:07 PDT 2021


schrc3b6 added a comment.

This is my first PR here, so if I missed something, I will be more than happy to change anything if you point me in the right direction.

I didn't add an extra test so far, because check_clang_tidy.py doesn't support the .h extension so far. And before adding C support to the test helper, I wanted to get feedback if this is something that would even get mainlined, since clang-tidy is mainly for c++.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D111909/new/

https://reviews.llvm.org/D111909



More information about the cfe-commits mailing list