[cfe-commits] r89918 - /cfe/trunk/lib/Driver/CC1Options.cpp

Daniel Dunbar daniel at zuster.org
Wed Nov 25 18:14:17 PST 2009


Author: ddunbar
Date: Wed Nov 25 20:14:16 2009
New Revision: 89918

URL: http://llvm.org/viewvc/llvm-project?rev=89918&view=rev
Log:
Fix thinko (-fno-builtin != -nobuiltininc).

Modified:
    cfe/trunk/lib/Driver/CC1Options.cpp

Modified: cfe/trunk/lib/Driver/CC1Options.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/CC1Options.cpp?rev=89918&r1=89917&r2=89918&view=diff

==============================================================================
--- cfe/trunk/lib/Driver/CC1Options.cpp (original)
+++ cfe/trunk/lib/Driver/CC1Options.cpp Wed Nov 25 20:14:16 2009
@@ -361,7 +361,7 @@
   Opts.Verbose = Args.hasArg(OPT_v);
   Opts.UseStandardIncludes = !Args.hasArg(OPT_nostdinc);
   Opts.BuiltinIncludePath = "";
-  if (!Args.hasArg(OPT_fno_builtin))
+  if (!Args.hasArg(OPT_nobuiltininc))
       Opts.BuiltinIncludePath = "FIXME"; // FIXME: Get builtin include path!
 
   // Add -I... and -F... options in order.





More information about the cfe-commits mailing list