diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2012-04-09 18:58:55 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2012-04-09 18:58:55 +0000 |
commit | e51fe0972a781e79abae550786ebed7d1da54252 (patch) | |
tree | e74dad97d90b2eb9a5090e05320cca5c4dcdbbb3 /lib/Driver/Tools.cpp | |
parent | e52e2e6f4840c2fa8f7e6289cab976e2c8d2fdc0 (diff) |
objective-c: remove -fobjc-default-synthesize-properties from the driver.
cc1 option remains though to invoke default property synthesis.
// rdar://11209719
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154334 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Tools.cpp')
-rw-r--r-- | lib/Driver/Tools.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp index 4744c6ad9f..3a1778d136 100644 --- a/lib/Driver/Tools.cpp +++ b/lib/Driver/Tools.cpp @@ -2394,8 +2394,7 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA, // -fobjc-default-synthesize-properties=1 is default. This only has an effect // if the nonfragile objc abi is used. - if (Args.hasArg(options::OPT_fobjc_default_synthesize_properties) || - getToolChain().IsObjCDefaultSynthPropertiesDefault()) { + if (getToolChain().IsObjCDefaultSynthPropertiesDefault()) { CmdArgs.push_back("-fobjc-default-synthesize-properties"); } |