Default to enabling default-synthesized ivars on all platforms
authorDavid Chisnall <csdavec@swan.ac.uk>
Sun, 3 Mar 2013 15:36:10 +0000 (15:36 +0000)
committerDavid Chisnall <csdavec@swan.ac.uk>
Sun, 3 Mar 2013 15:36:10 +0000 (15:36 +0000)
llvm-svn: 176419

clang/include/clang/Driver/ToolChain.h
clang/lib/Driver/ToolChains.h

index 9b201bab6b0cf58acb8c4fdd0f158f5f0d34deca..ee65ed0849a11db46bae00e77f049616285bff3a 100644 (file)
@@ -147,7 +147,7 @@ public:
 
   /// IsObjCDefaultSynthPropertiesDefault - Does this tool chain enable
   /// -fobjc-default-synthesize-properties by default.
-  virtual bool IsObjCDefaultSynthPropertiesDefault() const { return false; }
+  virtual bool IsObjCDefaultSynthPropertiesDefault() const { return true; }
   
   /// IsEncodeExtendedBlockSignatureDefault - Does this tool chain enable
   /// -fencode-extended-block-signature by default.
index b313ab610c1df6bba0550852e0802390977ebd86..b84525fb8aca96dfa400cdecc1f49b44f2eaced8 100644 (file)
@@ -297,10 +297,6 @@ public:
     return false;
   }
 
-  virtual bool IsObjCDefaultSynthPropertiesDefault() const {
-    return true;
-  }
-
   virtual bool IsEncodeExtendedBlockSignatureDefault() const {
     return true;
   }
@@ -564,10 +560,6 @@ public:
   virtual Tool &SelectTool(const Compilation &C, const JobAction &JA,
                            const ActionList &Inputs) const;
 
-  virtual bool IsObjCDefaultSynthPropertiesDefault() const {
-    return true;
-  }
-
   virtual bool IsIntegratedAssemblerDefault() const;
   virtual bool IsUnwindTablesDefault() const;
   virtual bool isPICDefault() const;