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 | 0568407543367845eb0120514a995bf98ec07260 (patch) | |
| tree | e642959bf39d95a06bd77e3da70f5edafbd773c9 /clang/lib | |
| parent | ba8ef296e4326dafad1fd94e4be421cc0150d5cd (diff) | |
| download | bcm5719-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.cpp | 3 |
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"); } |

