diff options
author | Chris Lattner <sabre@nondot.org> | 2008-10-28 20:33:42 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-10-28 20:33:42 +0000 |
commit | 1b450b092a053896e96f0355cf7c7cdc9bba9eab (patch) | |
tree | 294bd6b1bddf59b0575a5775f8d43e2e2af569c4 /Driver/clang.cpp | |
parent | fa15fd9db405f2d0a9811e94a671f7d7bc282385 (diff) |
.s files don't require the preprocessor, patch by Roman Divacky!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58349 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Driver/clang.cpp')
-rw-r--r-- | Driver/clang.cpp | 2 |
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; |