diff options
| author | Ted Kremenek <kremenek@apple.com> | 2010-12-23 21:35:43 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2010-12-23 21:35:43 +0000 |
| commit | 1d56c9eed77fe703f389bfa82f79b155a30168d4 (patch) | |
| tree | 29762c9bc0ea18c3550ce84cc9b111dd8859343a /clang/lib/Driver/ToolChains.h | |
| parent | 4c6340188a96c4f4b5a2e8035f0a0e0b47bfa227 (diff) | |
| download | bcm5719-llvm-1d56c9eed77fe703f389bfa82f79b155a30168d4.tar.gz bcm5719-llvm-1d56c9eed77fe703f389bfa82f79b155a30168d4.zip | |
Add -fobjc-default-synthesized-properties flag
to allow us to explicitly control whether or
not Objective-C properties are default synthesized.
Currently this feature only works when using
the -fobjc-non-fragile-abi2 flag (so there is
no functionality change), but we can now turn
off this feature without turning off all the features
coupled with -fobjc-non-fragile-abi2.
llvm-svn: 122519
Diffstat (limited to 'clang/lib/Driver/ToolChains.h')
| -rw-r--r-- | clang/lib/Driver/ToolChains.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/lib/Driver/ToolChains.h b/clang/lib/Driver/ToolChains.h index 04288a2ee06..33b80534532 100644 --- a/clang/lib/Driver/ToolChains.h +++ b/clang/lib/Driver/ToolChains.h @@ -176,6 +176,12 @@ public: getTriple().getArch() == llvm::Triple::x86_64); #endif } + + virtual bool IsObjCDefaultSynthPropertiesDefault() const { + // Always allow default synthesized properties on Darwin. + return true; + } + virtual bool IsObjCNonFragileABIDefault() const { // Non-fragile ABI is default for everything but i386. return getTriple().getArch() != llvm::Triple::x86; |

