diff options
author | Jan Korous <jkorous@apple.com> | 2019-10-14 20:15:01 +0000 |
---|---|---|
committer | Jan Korous <jkorous@apple.com> | 2019-10-14 20:15:01 +0000 |
commit | 8d744a73b55b545f704906966e86cb28ede2423c (patch) | |
tree | c78f99442d865b08bf9c85fdf140a3da27ea5ee1 /lib/Sema/SemaOpenMP.cpp | |
parent | 7482cce8b874cc5b3b44720f7e9fcd34e98f38d4 (diff) | |
download | clang-8d744a73b55b545f704906966e86cb28ede2423c.tar.gz |
[clang-scan-deps] Support for clang --analyze in clang-scan-deps
The goal is to have 100% fidelity in clang-scan-deps behavior when
--analyze is present in compilation command.
At the same time I don't want to break clang-tidy which expects
__static_analyzer__ macro defined as built-in.
I introduce new cc1 options (-setup-static-analyzer) that controls
the macro definition and is conditionally set in driver.
Differential Revision: https://reviews.llvm.org/D68093
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@374815 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaOpenMP.cpp')
0 files changed, 0 insertions, 0 deletions