Skip to content

Commit

Permalink
Update clang-tidy rules; Add clang diagnostics
Browse files Browse the repository at this point in the history
addresses #1560
fixes #1548

* gnerate JSON file from Diagnositc.td
  `llvm-tblgen -dump-json <src_dir>/tools/clang/include/clang/Basic/Diagnostic.td > output.json`
* parse JSON in order to generate rules ( incl. types, severities and descriptions)
* the result is identical to http://clang.llvm.org/docs/DiagnosticsReference.html

TODO
* check if prefix 'clang-diagnostics-' applies to all diagnositcs
* check if rule-IDs in clang-tidy report match the rule-IDs in the clangtidy.xml
  • Loading branch information
ivangalkin committed Oct 5, 2018
1 parent d948649 commit 2feb836
Show file tree
Hide file tree
Showing 3 changed files with 12,204 additions and 2 deletions.

0 comments on commit 2feb836

Please sign in to comment.