Open HerrCai0907 opened 8 months ago
@llvm/issue-subscribers-clang-tidy
Author: Congcong Cai (HerrCai0907)
extern "C" {
}
Could be used, some checks respect it.
extern "C" { }
Could be used, some checks respect it.
But then I need to wrapper all context in extern "C" including #include ...
. It looks weird.
I have created some common header file for c and cpp. But when I run clang-tidy for my cpp file, it throw lots of error for example use-using, c-style cast, etc. Is there any mechanism to identifier this header file and forbidden some cpp check when running clang-tidy?