As far as I can tell, the only effect of having `ClangTidyModuleRegistry.h` be a separate header is that it forces you to include two headers instead of one before you can actually define your clang-tidy module. |
||
|---|---|---|
| .. | ||
| AvoidSpinlockCheck.cpp | ||
| AvoidSpinlockCheck.h | ||
| CMakeLists.txt | ||
| DarwinTidyModule.cpp | ||
| DispatchOnceNonstaticCheck.cpp | ||
| DispatchOnceNonstaticCheck.h | ||