[cfe-commits] r51547 - /cfe/trunk/utils/ccc-analyzer
Ted Kremenek
kremenek at apple.com
Sat May 24 09:14:34 PDT 2008
Author: kremenek
Date: Sat May 24 11:14:34 2008
New Revision: 51547
URL: http://llvm.org/viewvc/llvm-project?rev=51547&view=rev
Log:
Don't use inferlanguage to override the default language for all files.
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=51547&r1=51546&r2=51547&view=diff
==============================================================================
--- cfe/trunk/utils/ccc-analyzer (original)
+++ cfe/trunk/utils/ccc-analyzer Sat May 24 11:14:34 2008
@@ -254,9 +254,10 @@
if action == 'compile' or save_temps or action == 'link':
for i, file in enumerate(files):
+ file_language = language
if not language:
- language = inferlanguage(extension(file))
- if language == "skip":
+ file_language = inferlanguage(extension(file))
+ if file__language == "skip":
continue
if save_temps and action != "compile":
More information about the cfe-commits
mailing list