.s files don't require the preprocessor, patch by Roman Divacky!

llvm-svn: 58349
This commit is contained in:
Chris Lattner 2008-10-28 20:33:42 +00:00
parent f4b992a8ec
commit 1500970962
1 changed files with 1 additions and 1 deletions

View File

@ -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;