[cfe-commits] r49152 - /cfe/trunk/utils/ccc-analyzer

Ted Kremenek kremenek at apple.com
Thu Apr 3 00:15:00 PDT 2008


Author: kremenek
Date: Thu Apr  3 02:14:59 2008
New Revision: 49152

URL: http://llvm.org/viewvc/llvm-project?rev=49152&view=rev
Log:
Don't run the analyzer on files whose language is "unknown"

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=49152&r1=49151&r2=49152&view=diff

==============================================================================
--- cfe/trunk/utils/ccc-analyzer (original)
+++ cfe/trunk/utils/ccc-analyzer Thu Apr  3 02:14:59 2008
@@ -46,7 +46,7 @@
       return path[:i]
 
 def analyze(args,language,output,files,verbose,htmldir):
-    if language.find("c++") > 0:
+    if language.find("c++") > 0 or language == 'unknown':
       return
   
     print_args = []





More information about the cfe-commits mailing list