From: John McCall Date: Fri, 9 Apr 2010 19:12:06 +0000 (+0000) Subject: Turn access control on by default in the driver. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=32579cf507d088e776b67327c5d6bc46e1f217cc;p=clang Turn access control on by default in the driver. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100882 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp index 457744f369..be79e79fd0 100644 --- a/lib/Driver/Tools.cpp +++ b/lib/Driver/Tools.cpp @@ -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.