ccc/Driver/clang-fe: Accept -fbuiltin, and forward -f[no-]builtin to clang.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67420 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Driver/clang.cpp b/Driver/clang.cpp
index c42d375..093dc1a 100644
--- a/Driver/clang.cpp
+++ b/Driver/clang.cpp
@@ -231,8 +231,9 @@
                             "freestanding environment"));
 
 static llvm::cl::opt<bool>
-NoBuiltin("fno-builtin",
-          llvm::cl::desc("Disable implicit builtin knowledge of functions"));
+AllowBuiltins("fbuiltin",
+              llvm::cl::desc("Disable implicit builtin knowledge of functions"),
+              llvm::cl::init(true), llvm::cl::AllowInverse);
 
 
 static llvm::cl::opt<bool>
@@ -661,7 +662,7 @@
   if (EnableBlocks.getPosition())
     Options.Blocks = EnableBlocks;
 
-  if (NoBuiltin)
+  if (!AllowBuiltins)
     Options.NoBuiltin = 1;
   if (Freestanding)
     Options.Freestanding = Options.NoBuiltin = 1;