llvm.org GIT mirror llvm / 2a20b9b
Revert "[lit] Add -D__clang_analyzer__ to clang_analyze_cc1" This reverts commit 4185460f758b98ea5b898c04c179704756ca8f53. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@372686 91177308-0d34-0410-b5e6-96231b3b80d8 Jan Korous a month ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
403403 builtin_include_dir = self.get_clang_builtin_include_dir(self.config.clang)
404404 tool_substitutions = [
405405 ToolSubst('%clang', command=self.config.clang, extra_args=additional_flags),
406 ToolSubst('%clang_analyze_cc1', command='%clang_cc1', extra_args=['-analyze', '%analyze', '-D__clang_analyzer__']+additional_flags),
406 ToolSubst('%clang_analyze_cc1', command='%clang_cc1', extra_args=['-analyze', '%analyze']+additional_flags),
407407 ToolSubst('%clang_cc1', command=self.config.clang, extra_args=['-cc1', '-internal-isystem', builtin_include_dir, '-nostdsysteminc']+additional_flags),
408408 ToolSubst('%clang_cpp', command=self.config.clang, extra_args=['--driver-mode=cpp']+additional_flags),
409409 ToolSubst('%clang_cl', command=self.config.clang, extra_args=['--driver-mode=cl']+additional_flags),