summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2012-04-09 18:58:55 +0000
committerFariborz Jahanian <fjahanian@apple.com>2012-04-09 18:58:55 +0000
commit0568407543367845eb0120514a995bf98ec07260 (patch)
treee642959bf39d95a06bd77e3da70f5edafbd773c9 /clang/lib
parentba8ef296e4326dafad1fd94e4be421cc0150d5cd (diff)
downloadbcm5719-llvm-0568407543367845eb0120514a995bf98ec07260.tar.gz
bcm5719-llvm-0568407543367845eb0120514a995bf98ec07260.zip
objective-c: remove -fobjc-default-synthesize-properties from the driver.
cc1 option remains though to invoke default property synthesis. // rdar://11209719 llvm-svn: 154334
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/Driver/Tools.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/Driver/Tools.cpp b/clang/lib/Driver/Tools.cpp
index 4744c6ad9f0..3a1778d136c 100644
--- a/clang/lib/Driver/Tools.cpp
+++ b/clang/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");
}
OpenPOWER on IntegriCloud