From: Hans Wennborg Date: Thu, 17 Oct 2013 20:41:18 +0000 (+0000) Subject: Make .asm a valid extension for assembly files X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4d612807447579d071b67568836de40fc1a1ed91;p=clang Make .asm a valid extension for assembly files This is a common extension on Windows, and now clang will assemble them instead of treating them as linker input which is the default for unknown file types. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@192919 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Driver/Types.cpp b/lib/Driver/Types.cpp index 3b353041b2..d947ae7c03 100644 --- a/lib/Driver/Types.cpp +++ b/lib/Driver/Types.cpp @@ -139,6 +139,7 @@ types::ID types::lookupTypeForExtension(const char *Ext) { .Case("f", TY_PP_Fortran) .Case("F", TY_Fortran) .Case("s", TY_PP_Asm) + .Case("asm", TY_PP_Asm) .Case("S", TY_Asm) .Case("o", TY_Object) .Case("obj", TY_Object)