Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update clang-tidy rules; Add clang diagnostics
addresses SonarOpenCommunity#1560 fixes SonarOpenCommunity#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