]> granicus.if.org Git - clang/commitdiff
Fix thinko (-fno-builtin != -nobuiltininc).
authorDaniel Dunbar <daniel@zuster.org>
Thu, 26 Nov 2009 02:14:16 +0000 (02:14 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Thu, 26 Nov 2009 02:14:16 +0000 (02:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89918 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/CC1Options.cpp

index 3a5cc54840304c3804f648bd0a9b6be780c1c88b..d45fe847d3a581319c2a717eb9160d59588ee89a 100644 (file)
@@ -361,7 +361,7 @@ static void ParseHeaderSearchArgs(HeaderSearchOptions &Opts, ArgList &Args) {
   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.