From bfd6a3fbc16d39543d7d5a2041e749e8b1276393 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Wed, 14 May 2008 20:17:17 +0000 Subject: [PATCH] Don't run clang on .s files. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51121 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/ccc-analyzer | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/utils/ccc-analyzer b/utils/ccc-analyzer index a1308daa8e..5cb9151f35 100755 --- a/utils/ccc-analyzer +++ b/utils/ccc-analyzer @@ -122,6 +122,8 @@ def inferlanguage(extension): return "objective-c" elif extension == "mi": return "objective-c-cpp-output" + elif extention == "s": + return "skip" else: return "unknown" @@ -265,6 +267,9 @@ def main(args): 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");