diff options
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"); } |