]> granicus.if.org Git - clang/commitdiff
Don't specify a -o option to clang when not using "-checker-cfref".
authorTed Kremenek <kremenek@apple.com>
Wed, 14 May 2008 20:26:52 +0000 (20:26 +0000)
committerTed Kremenek <kremenek@apple.com>
Wed, 14 May 2008 20:26:52 +0000 (20:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51124 91177308-0d34-0410-b5e6-96231b3b80d8

utils/ccc-analyzer

index 2c1960e7dbddbcf71bdce1e3b8d1589a94de81cc..2c81b0f32b998b79a91b097d26cd11bc9dde5a9a 100755 (executable)
@@ -165,8 +165,12 @@ def main(args):
       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]