llvm-project/clang-tools-extra/test
Alexander Kornienko 09952d2d71 Post-filter clang-tidy diagnostic messages.
Summary:
This patch implements filtering of clang-tidy diagnostic messages by
the check name, so that "clang-tidy -checks=^llvm-" won't output any clang
warnings, for example. This is also helpful to run specific static-analyzer
checks: static analyzer always needs core checks to be enabled, but the user may
be interested only in the checks he asked for.

This patch also exposes warning option names for built-in diagnostics. We need
to have a namespace for these names to avoid collisions and to allow convenient
filtering, so I prefix them with "-W". I'm not sure it's the best thing to do,
and maybe "W" or "clang-diagnostic-" or something like this would be better.

Reviewers: klimek

Reviewed By: klimek

CC: cfe-commits

Differential Revision: http://llvm-reviews.chandlerc.com/D3121

llvm-svn: 204321
2014-03-20 09:38:22 +00:00
..
Unit [tests] Update to use lit_config and lit package, as appropriate. 2013-08-09 18:49:22 +00:00
clang-apply-replacements clang-apply-replacements: Add code formatting functionality 2013-09-30 13:59:21 +00:00
clang-modernize Attempt to stabilize the Windows builder 2014-01-25 13:09:12 +00:00
clang-query Add a makefile for clang-query. Patch by Alex Horn! 2014-02-18 19:46:01 +00:00
clang-tidy Post-filter clang-tidy diagnostic messages. 2014-03-20 09:38:22 +00:00
modularize Added module map generation option. 2013-10-15 13:52:33 +00:00
module-map-checker Initial checkin of new module-map-checker tool. 2014-01-07 15:22:08 +00:00
pp-trace clang-tools-extra/test/pp-trace/pp-trace-modules.cpp: Flush module cache to let robust around r203317. 2014-03-09 04:10:17 +00:00
remove-cstr-calls Fix a remove-cstr-calls test that fails checking of the produced code. 2013-06-19 15:43:40 +00:00
.clang-format Add a .clang-format to avoid reflow of test RUN lines 2013-12-01 05:08:00 +00:00
CMakeLists.txt Add a makefile for clang-query. Patch by Alex Horn! 2014-02-18 19:46:01 +00:00
Makefile check-clang-tools: Also it doesn't require neither llvm_src_root nor llvm_obj_root. 2014-01-26 12:40:18 +00:00
lit.cfg Add a makefile for clang-query. Patch by Alex Horn! 2014-02-18 19:46:01 +00:00
lit.site.cfg.in Add a makefile for clang-query. Patch by Alex Horn! 2014-02-18 19:46:01 +00:00