[cfe-commits] r51121 - /cfe/trunk/utils/ccc-analyzer
Ted Kremenek
kremenek at apple.com
Wed May 14 13:17:17 PDT 2008
Author: kremenek
Date: Wed May 14 15:17:17 2008
New Revision: 51121
URL: http://llvm.org/viewvc/llvm-project?rev=51121&view=rev
Log:
Don't run clang on .s 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=51121&r1=51120&r2=51121&view=diff
==============================================================================
--- cfe/trunk/utils/ccc-analyzer (original)
+++ cfe/trunk/utils/ccc-analyzer Wed May 14 15:17:17 2008
@@ -122,6 +122,8 @@
return "objective-c"
elif extension == "mi":
return "objective-c-cpp-output"
+ elif extention == "s":
+ return "skip"
else:
return "unknown"
@@ -265,6 +267,9 @@
for i, file in enumerate(files):
if not language:
language = inferlanguage(extension(file))
+ if language == "skip":
+ continue
+
if save_temps and action != "compile":
# Need a temporary output file
coutput = changeextension(file, "o");
More information about the cfe-commits
mailing list