Intersect( this GccCommon.ICommonCompilerSettings shared, GccCommon.ICommonCompilerSettings other) { if (shared.AllWarnings != other.AllWarnings) { shared.AllWarnings = null; } if (shared.ExtraWarnings != other.ExtraWarnings) { shared.ExtraWarnings = null; } if (shared.Pedantic != other.Pedantic) { shared.Pedantic = null; } if (shared.Visibility != other.Visibility) { shared.Visibility = null; } if (shared.StrictAliasing != other.StrictAliasing) { shared.StrictAliasing = null; } }
Delta( this GccCommon.ICommonCompilerSettings delta, GccCommon.ICommonCompilerSettings lhs, GccCommon.ICommonCompilerSettings rhs) { delta.AllWarnings = (lhs.AllWarnings != rhs.AllWarnings) ? lhs.AllWarnings : null; delta.ExtraWarnings = (lhs.ExtraWarnings != rhs.ExtraWarnings) ? lhs.ExtraWarnings : null; delta.Pedantic = (lhs.Pedantic != rhs.Pedantic) ? lhs.Pedantic : null; delta.Visibility = (lhs.Visibility != rhs.Visibility) ? lhs.Visibility : null; delta.StrictAliasing = (lhs.StrictAliasing != rhs.StrictAliasing) ? lhs.StrictAliasing : null; }
Clone( this GccCommon.ICommonCompilerSettings settings, GccCommon.ICommonCompilerSettings other) { settings.AllWarnings = other.AllWarnings; settings.ExtraWarnings = other.ExtraWarnings; settings.Pedantic = other.Pedantic; settings.Visibility = other.Visibility; settings.StrictAliasing = other.StrictAliasing; }