hanchenye-llvm-project/clang-tools-extra/test/include-fixer
Michal Gorny a81de445c1 [cmake] Support running extra clang tool tests without static analyzer
Support running the extra clang tool tests when the static analyzer
is disabled. Disable the relevant clang-tidy tests and one include-fixer
test that require it to work.

Previously, the tests were disabled entirely with
CLANG_ENABLE_STATIC_ANALYZER being false. Now, the tests are being
enabled and the relevant tests are excluded and marked unsupported
appropriately.

In order to disable clang-tidy tests, the whole test directory is added
to the exclude lists, to avoid having to explicitly add 'REQUIRES' line
to every single test. If the other solution is preferable, I can update
the patch.

The yamldb_plugin include-fixer test is also updated to be disabled
without static analyzer. It fails in that case because clang is not
outputting a replacement suggestion -- but I don't know the exact
reason why it does not do that.

Differential Revision: https://reviews.llvm.org/D37188

llvm-svn: 311983
2017-08-29 05:58:08 +00:00
..
Inputs [include-fixer] Add fuzzy SymbolIndex, where identifier needn't match exactly. 2017-03-13 15:55:59 +00:00
commandline_options.cpp
exit_on_fatal.cpp
fixeddb.cpp
include_path.cpp
merge.test [include-fixer] Remove line number from Symbol identity 2017-03-09 10:47:44 +00:00
multiple_fixes.cpp
prefix_variable.cpp
query_symbol.cpp
ranking.cpp Improve include fixer's ranking by taking the paths into account. 2017-01-11 10:32:47 +00:00
yaml_fuzzy.cpp [include-fixer] Add fuzzy SymbolIndex, where identifier needn't match exactly. 2017-03-13 15:55:59 +00:00
yamldb.cpp
yamldb_autodetect.cpp
yamldb_plugin.cpp [cmake] Support running extra clang tool tests without static analyzer 2017-08-29 05:58:08 +00:00