forked from OSchip/llvm-project
Make the top-level driver ignore -fobjc-default-synthesize-properties while this feature undergoes more review and development. This is still available as a -cc1 option for testing.
llvm-svn: 130424
This commit is contained in:
parent
dd77c8efa2
commit
414a2c0951
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue