[cfe-commits] r51124 - /cfe/trunk/utils/ccc-analyzer
Ted Kremenek
kremenek at apple.com
Wed May 14 13:26:52 PDT 2008
Author: kremenek
Date: Wed May 14 15:26:52 2008
New Revision: 51124
URL: http://llvm.org/viewvc/llvm-project?rev=51124&view=rev
Log:
Don't specify a -o option to clang when not using "-checker-cfref".
Modified:
cfe/trunk/utils/ccc-analyzer
Modified: cfe/trunk/utils/ccc-analyzer
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/ccc-analyzer?rev=51124&r1=51123&r2=51124&view=diff
==============================================================================
--- cfe/trunk/utils/ccc-analyzer (original)
+++ cfe/trunk/utils/ccc-analyzer Wed May 14 15:26:52 2008
@@ -165,8 +165,12 @@
clang = clang_env
# Get the HTML output directory.
- htmldir = os.environ.get('CCC_ANALYZER_HTML')
-
+ htmldir = None
+
+ if analysis_type == "-checker-cfref":
+ htmldir = os.environ.get('CCC_ANALYZER_HTML')
+
+ # Process the arguments.
i = 0
while i < len(args):
arg = args[i]
More information about the cfe-commits
mailing list