public void AddSubregister(NamedSubregister subreg, int?strippedIndex, string specificInstanceName, string subregisterName) { Subregisters.Add(new SubregisterWithConstraints { Subregister = subreg, SubregisterName = subregisterName, PeripheralInstanceFilter = specificInstanceName, RegisterInstanceFilter = strippedIndex, }); }
public void HandleOrphanedSubregisterMacro(PreprocessorMacroGroup grp, NamedSubregister subreg) { lock (_ParseReportWriter._OrphanedSubregisters) _ParseReportWriter._OrphanedSubregisters.AddWarning(ShortName, subreg.Name); }