]> granicus.if.org Git - clang/commitdiff
Turn access control on by default in the driver.
authorJohn McCall <rjmccall@apple.com>
Fri, 9 Apr 2010 19:12:06 +0000 (19:12 +0000)
committerJohn McCall <rjmccall@apple.com>
Fri, 9 Apr 2010 19:12:06 +0000 (19:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100882 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/Tools.cpp

index 457744f3693ddbe43d058cec8747e36b7505d824..be79e79fd05b937ad7e37aa831416fe1e753e0de 100644 (file)
@@ -1152,10 +1152,10 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
     CmdArgs.push_back("-fblocks");
   }
 
-  // -fno-access-control is default (for now).
+  // -faccess-control is default.
   if (Args.hasFlag(options::OPT_fno_access_control,
                    options::OPT_faccess_control,
-                   true))
+                   false))
     CmdArgs.push_back("-fno-access-control");
 
   // -fexceptions=0 is default.