]> granicus.if.org Git - clang/commitdiff
Make the top-level driver ignore -fobjc-default-synthesize-properties while this...
authorTed Kremenek <kremenek@apple.com>
Thu, 28 Apr 2011 19:26:03 +0000 (19:26 +0000)
committerTed Kremenek <kremenek@apple.com>
Thu, 28 Apr 2011 19:26:03 +0000 (19:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130424 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/Tools.cpp

index 2e74e272cb04b5471546f2d75924ac0361ce9717..5fb4b78af2e19699ab5e93b1e63332c671786811 100644 (file)
@@ -1705,12 +1705,18 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
       }
     }
 
+    // FIXME: Don't expose -fobjc-default-synthesize-properties as a top-level
+    // driver flag yet.  This feature is still under active development
+    // and shouldn't be exposed as a user visible feature (which may change).
+    // Clang still supports this as a -cc1 option for development and testing.
+#if 0
     // -fobjc-default-synthesize-properties=0 is default.
     if (Args.hasFlag(options::OPT_fobjc_default_synthesize_properties,
                      options::OPT_fno_objc_default_synthesize_properties,
                      getToolChain().IsObjCDefaultSynthPropertiesDefault())) {
       CmdArgs.push_back("-fobjc-default-synthesize-properties");
     }
+#endif
   }
 
   if (!Args.hasFlag(options::OPT_fassume_sane_operator_new,