]> granicus.if.org Git - clang/commit
[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)
commitcf1fe2247e68e1f3f65e79eebccfd1dde950a875
treeb8e895c0aa68583c43ffbd6e3f745bbaabc3be7e
parentfbfd4cc0b44e4acc5036d7f1d1601e0253518d49
[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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@360799 91177308-0d34-0410-b5e6-96231b3b80d8
examples/CMakeLists.txt
test/Analysis/checker-plugins.c
test/Analysis/lit.local.cfg
test/Analysis/plugins/CMakeLists.txt [new file with mode: 0644]
test/Analysis/plugins/CheckerDependencyHandling/CMakeLists.txt [new file with mode: 0644]
test/Analysis/plugins/CheckerDependencyHandling/CheckerDependencyHandling.cpp [new file with mode: 0644]
test/Analysis/plugins/CheckerDependencyHandling/CheckerDependencyHandlingAnalyzerPlugin.exports [moved from examples/analyzer-plugin/SampleAnalyzerPlugin.exports with 100% similarity]
test/Analysis/plugins/SampleAnalyzer/CMakeLists.txt [moved from examples/analyzer-plugin/CMakeLists.txt with 100% similarity]
test/Analysis/plugins/SampleAnalyzer/MainCallChecker.cpp [moved from examples/analyzer-plugin/MainCallChecker.cpp with 74% similarity]
test/Analysis/plugins/SampleAnalyzer/SampleAnalyzerPlugin.exports [new file with mode: 0644]
test/CMakeLists.txt