ci: add GitHub action for clang-tidy #21
Annotations
6 errors and 2 warnings
gpt4all-chat/build/CMakeFiles/3.31.1/CompilerIdC/CMakeCCompilerId.c:2:3 [clang-diagnostic-error]:
gpt4all-chat/build/CMakeFiles/3.31.1/CompilerIdC/CMakeCCompilerId.c#L2
"A C++ compiler has been selected for C."
|
|
|
|
|
cpp-linter
Process completed with exit code 1.
|
gpt4all-chat/build/CMakeFiles/3.31.1/CompilerIdC/CMakeCCompilerId.c:885:14 [cppcoreguidelines-pro-bounds-constant-array-index]:
gpt4all-chat/build/CMakeFiles/3.31.1/CompilerIdC/CMakeCCompilerId.c#L885
do not use array subscript when the index is not an integer constant expression
|
gpt4all-chat/build/CMakeFiles/3.31.1/CompilerIdCXX/CMakeCXXCompilerId.cpp:901:14 [cppcoreguidelines-pro-bounds-constant-array-index]:
gpt4all-chat/build/CMakeFiles/3.31.1/CompilerIdCXX/CMakeCXXCompilerId.cpp#L901
do not use array subscript when the index is not an integer constant expression
|