@@ -227,10 +227,10 @@ template <> struct MappingTraits<ClangTidyOptions> {
227227 Options.ExcludeHeaderFilterRegex );
228228 IO.mapOptional (" FormatStyle" , Options.FormatStyle );
229229 IO.mapOptional (" User" , Options.User );
230- IO.mapOptional (" RemovedArgs" , Options.RemovedArgs );
231230 IO.mapOptional (" CheckOptions" , Options.CheckOptions );
232231 IO.mapOptional (" ExtraArgs" , Options.ExtraArgs );
233232 IO.mapOptional (" ExtraArgsBefore" , Options.ExtraArgsBefore );
233+ IO.mapOptional (" RemovedArgs" , Options.RemovedArgs );
234234 IO.mapOptional (" InheritParentConfig" , Options.InheritParentConfig );
235235 IO.mapOptional (" UseColor" , Options.UseColor );
236236 IO.mapOptional (" SystemHeaders" , Options.SystemHeaders );
@@ -294,10 +294,10 @@ ClangTidyOptions &ClangTidyOptions::mergeWith(const ClangTidyOptions &Other,
294294 overrideValue (SystemHeaders, Other.SystemHeaders );
295295 overrideValue (FormatStyle, Other.FormatStyle );
296296 overrideValue (User, Other.User );
297- mergeVectors (RemovedArgs, Other.RemovedArgs );
298297 overrideValue (UseColor, Other.UseColor );
299298 mergeVectors (ExtraArgs, Other.ExtraArgs );
300299 mergeVectors (ExtraArgsBefore, Other.ExtraArgsBefore );
300+ mergeVectors (RemovedArgs, Other.RemovedArgs );
301301 // FIXME: how to handle duplicate names check?
302302 mergeVectors (CustomChecks, Other.CustomChecks );
303303 for (const auto &KeyValue : Other.CheckOptions ) {
0 commit comments