clang-tidy-html
                                
                                
                                
                                    clang-tidy-html copied to clipboard
                            
                            
                            
                        How to make use of existing checklist in the project instead of fetching checklist information from <website>list.html
In our cmake project we keep a clang.cmake to keep the custom specified checklists.
find_program(CLANG-TIDY_PATH clang-tidy REQUIRED)
function(AddClangTidy target)
set_target_properties(${target}
PROPERTIES CXX_CLANG_TIDY
"${CLANG-TIDY_PATH};--use-color;-checks=
# MISRACPP Rule 0-1-2,
misc-redundant-expression,
....,
....."
)
endfunction()
How to have these checklists fetched and given as input instead of fetching checklist from an html. But we still expect output toi be in html format.