diff options
author | John McCall <rjmccall@apple.com> | 2010-04-09 19:12:06 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-04-09 19:12:06 +0000 |
commit | 32579cf507d088e776b67327c5d6bc46e1f217cc (patch) | |
tree | 66cdaa1e438e82cb67e261ccbb755d200a0557ca /lib/Driver/Tools.cpp | |
parent | 380509aa107c550d0e77ee2db4069e127709427c (diff) |
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
Diffstat (limited to 'lib/Driver/Tools.cpp')
-rw-r--r-- | lib/Driver/Tools.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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. |