[analyzer] Add test directory for scan-build.
authorDevin Coughlin <dcoughlin@apple.com>
Tue, 5 Nov 2019 04:26:35 +0000 (20:26 -0800)
committerDevin Coughlin <dcoughlin@apple.com>
Tue, 5 Nov 2019 04:26:35 +0000 (20:26 -0800)
commit0aba69eb1a01c44185009f50cc633e3c648e9950
tree043c87856cb4bead0f6d212cef2a10b3a56137a2
parent4264e7bbfdb30ed8fe1e0907bfa25e4d1bb04207
[analyzer] Add test directory for scan-build.

The static analyzer's scan-build script is critical infrastructure but
is not well tested. To start to address this, add a new test directory under
tests/Analysis for scan-build lit tests and seed it with several tests. The
goal is that future scan-build changes will be accompanied by corresponding
tests.

Differential Revision: https://reviews.llvm.org/D69781
clang/test/Analysis/scan-build/Inputs/multidirectory_project/directory1/file1.c [new file with mode: 0644]
clang/test/Analysis/scan-build/Inputs/multidirectory_project/directory2/file2.c [new file with mode: 0644]
clang/test/Analysis/scan-build/Inputs/single_null_dereference.c [new file with mode: 0644]
clang/test/Analysis/scan-build/exclude_directories.test [new file with mode: 0644]
clang/test/Analysis/scan-build/help.test [new file with mode: 0644]
clang/test/Analysis/scan-build/html_output.test [new file with mode: 0644]
clang/test/Analysis/scan-build/plist_html_output.test [new file with mode: 0644]
clang/test/Analysis/scan-build/plist_output.test [new file with mode: 0644]
clang/test/lit.cfg.py
llvm/utils/lit/lit/llvm/config.py