1 # You can use clang-tidy with CMake by:
3 # Checking files individually by passing `-DCMAKE_EXPORT_COMPILE_COMMANDS=ON`
4 # to CMake, then running `clang-tidy <file>`
6 # Checking the entire build by passing `-DCMAKE_C_CLANG_TIDY=clang-tidy`
7 # and `-DCMAKE_CXX_CLANG_TIDY=clang-tidy` to CMake
9 # A full list of Clang-tidy checks can be found at
10 # https://clang.llvm.org/extra/clang-tidy/checks/list.html
12 - '-Wno-unknown-warning-option'
14 # Checks to run. A complete list of checks can be found at
15 # https://clang.llvm.org/extra/clang-tidy/checks/list.html
20 # We can remove the configs under epan and plugins, and wiretap if we
21 # ever uncomment this.
23 #WarningsAsErrors: 'misc-no-recursion'