summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-09-27 20:21:48 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-09-27 20:21:48 +0000
commitea1ba0adfcb7d0c500bc18534757d9296712e3c6 (patch)
tree312f1a1de105a62f99fb24aaf42857b7ad7f25d1 /clang/lib/Frontend/CompilerInvocation.cpp
parent09445c48362dd4906dd4ad28428d84e50c309cd9 (diff)
downloadbcm5719-llvm-ea1ba0adfcb7d0c500bc18534757d9296712e3c6.tar.gz
bcm5719-llvm-ea1ba0adfcb7d0c500bc18534757d9296712e3c6.zip
Replace -fobjc-default-synthesize-properties with disable-objc-default-synthesize-properties.
We want the modern behavior most of the time, so inverting the option simplifies the driver and the tests. llvm-svn: 191551
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInvocation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp
index afba109453d..d25801a7a7e 100644
--- a/clang/lib/Frontend/CompilerInvocation.cpp
+++ b/clang/lib/Frontend/CompilerInvocation.cpp
@@ -1310,7 +1310,7 @@ static void ParseLangArgs(LangOptions &Opts, ArgList &Args, InputKind IK,
Opts.ObjCConstantStringClass =
Args.getLastArgValue(OPT_fconstant_string_class);
Opts.ObjCDefaultSynthProperties =
- Args.hasArg(OPT_fobjc_default_synthesize_properties);
+ !Args.hasArg(OPT_disable_objc_default_synthesize_properties);
Opts.EncodeExtendedBlockSig =
Args.hasArg(OPT_fencode_extended_block_signature);
Opts.EmitAllDecls = Args.hasArg(OPT_femit_all_decls);
OpenPOWER on IntegriCloud