diff options
author | Devin Coughlin <dcoughlin@apple.com> | 2019-11-04 20:26:35 -0800 |
---|---|---|
committer | Devin Coughlin <dcoughlin@apple.com> | 2019-11-04 20:26:35 -0800 |
commit | 0aba69eb1a01c44185009f50cc633e3c648e9950 (patch) | |
tree | 043c87856cb4bead0f6d212cef2a10b3a56137a2 /llvm/utils/lit | |
parent | 4264e7bbfdb30ed8fe1e0907bfa25e4d1bb04207 (diff) | |
download | bcm5719-llvm-0aba69eb1a01c44185009f50cc633e3c648e9950.tar.gz bcm5719-llvm-0aba69eb1a01c44185009f50cc633e3c648e9950.zip |
[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
Diffstat (limited to 'llvm/utils/lit')
-rw-r--r-- | llvm/utils/lit/lit/llvm/config.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/utils/lit/lit/llvm/config.py b/llvm/utils/lit/lit/llvm/config.py index b0432995df1..cb5b4337ba7 100644 --- a/llvm/utils/lit/lit/llvm/config.py +++ b/llvm/utils/lit/lit/llvm/config.py @@ -411,6 +411,7 @@ class LLVMConfig(object): ToolSubst('%clang_cpp', command=self.config.clang, extra_args=['--driver-mode=cpp']+additional_flags), ToolSubst('%clang_cl', command=self.config.clang, extra_args=['--driver-mode=cl']+additional_flags), ToolSubst('%clangxx', command=self.config.clang, extra_args=['--driver-mode=g++']+additional_flags), + ToolSubst('%scan-build', command='scan-build'), ] self.add_tool_substitutions(tool_substitutions) |