[cfe-commits] r141577 - /cfe/trunk/lib/Frontend/CompilerInvocation.cpp

Francois Pichet pichet2000 at gmail.com
Mon Oct 10 13:34:10 PDT 2011


Author: fpichet
Date: Mon Oct 10 15:34:10 2011
New Revision: 141577

URL: http://llvm.org/viewvc/llvm-project?rev=141577&view=rev
Log:
Revert r140009, about disabling clang's builtin in -fms-compatibility mode. 

Modified:
    cfe/trunk/lib/Frontend/CompilerInvocation.cpp

Modified: cfe/trunk/lib/Frontend/CompilerInvocation.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/CompilerInvocation.cpp?rev=141577&r1=141576&r2=141577&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/CompilerInvocation.cpp (original)
+++ cfe/trunk/lib/Frontend/CompilerInvocation.cpp Mon Oct 10 15:34:10 2011
@@ -1393,8 +1393,7 @@
   using namespace cc1options;
   Opts.Sysroot = Args.getLastArgValue(OPT_isysroot, "/");
   Opts.Verbose = Args.hasArg(OPT_v);
-  Opts.UseBuiltinIncludes = !Args.hasArg(OPT_nobuiltininc) &&
-                            !Args.hasArg(OPT_fms_compatibility);
+  Opts.UseBuiltinIncludes = !Args.hasArg(OPT_nobuiltininc);
   Opts.UseStandardIncludes = !Args.hasArg(OPT_nostdinc);
   Opts.UseStandardCXXIncludes = !Args.hasArg(OPT_nostdincxx);
   if (const Arg *A = Args.getLastArg(OPT_stdlib_EQ))





More information about the cfe-commits mailing list