[llvm] r372686 - Revert "[lit] Add -D__clang_analyzer__ to clang_analyze_cc1"
Jan Korous via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 23 20:20:59 PDT 2019
Author: jkorous
Date: Mon Sep 23 20:20:59 2019
New Revision: 372686
URL: http://llvm.org/viewvc/llvm-project?rev=372686&view=rev
Log:
Revert "[lit] Add -D__clang_analyzer__ to clang_analyze_cc1"
This reverts commit 4185460f758b98ea5b898c04c179704756ca8f53.
Modified:
llvm/trunk/utils/lit/lit/llvm/config.py
Modified: llvm/trunk/utils/lit/lit/llvm/config.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/lit/lit/llvm/config.py?rev=372686&r1=372685&r2=372686&view=diff
==============================================================================
--- llvm/trunk/utils/lit/lit/llvm/config.py (original)
+++ llvm/trunk/utils/lit/lit/llvm/config.py Mon Sep 23 20:20:59 2019
@@ -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),
More information about the llvm-commits
mailing list