forked from OSchip/llvm-project
Revert "[lit] Add -D__clang_analyzer__ to clang_analyze_cc1"
This reverts commit 4185460f75
.
llvm-svn: 372686
This commit is contained in:
parent
5199aa88fe
commit
5e61895aed
|
@ -404,7 +404,7 @@ class LLVMConfig(object):
|
|||
builtin_include_dir = self.get_clang_builtin_include_dir(self.config.clang)
|
||||
tool_substitutions = [
|
||||
ToolSubst('%clang', command=self.config.clang, extra_args=additional_flags),
|
||||
ToolSubst('%clang_analyze_cc1', command='%clang_cc1', extra_args=['-analyze', '%analyze', '-D__clang_analyzer__']+additional_flags),
|
||||
ToolSubst('%clang_analyze_cc1', command='%clang_cc1', extra_args=['-analyze', '%analyze']+additional_flags),
|
||||
ToolSubst('%clang_cc1', command=self.config.clang, extra_args=['-cc1', '-internal-isystem', builtin_include_dir, '-nostdsysteminc']+additional_flags),
|
||||
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),
|
||||
|
|
Loading…
Reference in New Issue