[analyzer] Add a test for plugins using checker dependencies
authorKristof Umann <kristof.umann@ericsson.com>
Wed, 15 May 2019 19:47:26 +0000 (19:47 +0000)
committerKristof Umann <kristof.umann@ericsson.com>
Wed, 15 May 2019 19:47:26 +0000 (19:47 +0000)
commit47241aaff70bcf2dbc535465c2d8075ae5c6ee44
treeca966eaee6a956dd7cf684ff1358c9caac534b77
parent1ca049959f579c1d5f51ffc0ed8a4d74e8a1c6c8
[analyzer] Add a test for plugins using checker dependencies

Also, I moved the existing analyzer plugin to test/ as well, in order not to
give the illusion that the analyzer supports plugins -- it's capable of handling
them, but does not _support_ them.

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

llvm-svn: 360799
clang/examples/CMakeLists.txt
clang/test/Analysis/checker-plugins.c
clang/test/Analysis/lit.local.cfg
clang/test/Analysis/plugins/CMakeLists.txt [new file with mode: 0644]
clang/test/Analysis/plugins/CheckerDependencyHandling/CMakeLists.txt [new file with mode: 0644]
clang/test/Analysis/plugins/CheckerDependencyHandling/CheckerDependencyHandling.cpp [new file with mode: 0644]
clang/test/Analysis/plugins/CheckerDependencyHandling/CheckerDependencyHandlingAnalyzerPlugin.exports [moved from clang/examples/analyzer-plugin/SampleAnalyzerPlugin.exports with 100% similarity]
clang/test/Analysis/plugins/SampleAnalyzer/CMakeLists.txt [moved from clang/examples/analyzer-plugin/CMakeLists.txt with 100% similarity]
clang/test/Analysis/plugins/SampleAnalyzer/MainCallChecker.cpp [moved from clang/examples/analyzer-plugin/MainCallChecker.cpp with 74% similarity]
clang/test/Analysis/plugins/SampleAnalyzer/SampleAnalyzerPlugin.exports [new file with mode: 0644]
clang/test/CMakeLists.txt