Apply clang-tidy 14.0.0 on OSE and fix unintended errors
clang-tidy errors/warnings are fixed
Command to autofix clang-tidy errors:
find <folder-name> -type f -name "*.cpp" -o -name "*.h" -exec clang-tidy -p build/compile_commands.json -checks='-llvm-header-guard' -extra-arg=-std=c++17 -fix --fix-errors {} \;
Command to list clang-tidy erros:
clang-tidy <filename> -p build/compile_commands.json -checks='-llvm-header-guard' -extra-arg=-std=c++17
Edited by Raghunandan Netrapalli Madhusudhan