masaori335 opened a new pull request, #11077:
URL: https://github.com/apache/trafficserver/pull/11077

   CMake has a property called `<LANG>_CLANG_TIDY`.  This adds a function, 
`clang_tidy_check`, that set the property to the target if `ENABLE_CLANG_TIDY` 
is true. If it's enabled, `clang-tidy` check the rule in the `.clang-tidy` file 
when the target is compiled. 
   
   https://cmake.org/cmake/help/v3.29/prop_tgt/LANG_CLANG_TIDY.html
   
   The option is slightly different from what we used to have with auto tools, 
`make clang-tidy`, but this looks straight forward with cmake. 
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to