Skip to content

Commit

Permalink
Also update clang-tidy Windows instructions
Browse files Browse the repository at this point in the history
The compile database will contain the -Wsuggest-override option when compiled with MinGW-w64, however clang-tidy won't recognize it. This makes clang-tidy ignore such unknown warning options
  • Loading branch information
Qrox committed Dec 23, 2019
1 parent f757588 commit f45f4a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/DEVELOPER_TOOLING.md
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ to avoid compiler errors.
python3 <llvm-source-root>/clang-tools-extra/clang-tidy/tool/run-clang-tidy.py \
-clang-tidy-binary=build/tools/clang-tidy-plugin/CataAnalyzerPlugin.exe \
-p=build "\.cpp$" \
-extra-arg=-target -extra-arg=x86_64-pc-windows-gnu -extra-arg=-pthread -extra-arg=-DSDL_DISABLE_ANALYZE_MACROS \
-extra-arg=-target -extra-arg=x86_64-pc-windows-gnu -extra-arg=-pthread -extra-arg=-DSDL_DISABLE_ANALYZE_MACROS -extra-arg=-Wno-unknown-warning-option \
-extra-arg=-isystem -extra-arg=<llvm-source-root>/clang/lib/Headers
```

Expand Down

0 comments on commit f45f4a6

Please sign in to comment.