aboutsummaryrefslogtreecommitdiff
path: root/Driver/clang.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Driver/clang.cpp')
-rw-r--r--Driver/clang.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Driver/clang.cpp b/Driver/clang.cpp
index 765c05b26d..3cf654f458 100644
--- a/Driver/clang.cpp
+++ b/Driver/clang.cpp
@@ -300,7 +300,7 @@ static LangKind GetLanguage(const std::string &Filename) {
// assembler: .S
if (Ext == "c")
return langkind_c;
- else if (Ext == "S" || Ext == "s")
+ else if (Ext == "S")
return langkind_asm_cpp;
else if (Ext == "i")
return langkind_c_cpp;