Lines Matching full:auto

221   const auto *Values = Obj->getArray(Keys[Key]);  in collectFromArray()
229 auto ValStr = Val.getAsString(); in collectFromArray()
241 auto VersionOrErr = getRequiredValue<int64_t, FileType>( in getVersion()
256 const auto *Targets = Section->getArray(Keys[TBDKey::Targets]); in getTargets()
262 auto TargetStr = JSONTarget.getAsString(); in getTargets()
265 auto TargetOrErr = Target::create(TargetStr.value()); in getTargets()
280 const auto *Obj = JSONTarget.getAsObject(); in getTargetsSection()
283 auto TargetStr = in getTargetsSection()
287 auto TargetOrErr = Target::create(*TargetStr); in getTargetsSection()
291 auto VersionStr = Obj->getString(Keys[TBDKey::Deployment]); in getTargetsSection()
307 auto Err = collectFromArray( in collectSymbolsFromSegment()
373 const auto *Obj = Section->front().getAsObject(); in getNameSection()
402 for (auto Val : *Section) { in getSymbolSection()
403 auto *Obj = Val.getAsObject(); in getSymbolSection()
407 auto TargetsOrErr = getTargets(Obj); in getSymbolSection()
417 auto *DataSection = Obj->getObject(Keys[TBDKey::Data]); in getSymbolSection()
418 auto *TextSection = Obj->getObject(Keys[TBDKey::Text]); in getSymbolSection()
424 auto Err = collectSymbolsFromSegment(DataSection, Result, in getSymbolSection()
430 auto Err = collectSymbolsFromSegment(TextSection, Result, in getSymbolSection()
443 auto *Section = File->getArray(Keys[Key]); in getLibSection()
449 for (auto Val : *Section) { in getLibSection()
450 auto *Obj = Val.getAsObject(); in getLibSection()
454 auto TargetsOrErr = getTargets(Obj); in getLibSection()
461 auto Err = in getLibSection()
474 const auto *Umbrella = File->getArray(Keys[TBDKey::ParentUmbrella]); in getUmbrellaSection()
480 for (auto Val : *Umbrella) { in getUmbrellaSection()
481 auto *Obj = Val.getAsObject(); in getUmbrellaSection()
487 auto TargetsOrErr = getTargets(Obj); in getUmbrellaSection()
495 auto UmbrellaOrErr = in getUmbrellaSection()
509 for (const auto &Val : *Versions) { in getSwiftVersion()
510 const auto *Obj = Val.getAsObject(); in getSwiftVersion()
527 for (const auto &Val : *Versions) { in getPackedVersion()
528 const auto *Obj = Val.getAsObject(); in getPackedVersion()
532 auto ValidatePV = [](StringRef Version) -> std::optional<PackedVersion> { in getPackedVersion()
534 auto [success, truncated] = PV.parse64(Version); in getPackedVersion()
554 for (auto &Val : *Section) { in getFlags()
556 const auto *Obj = Val.getAsObject(); in getFlags()
560 auto FlagsOrErr = in getFlags()
585 auto TargetsOrErr = getTargetsSection(File); in parseToInterfaceFile()
590 auto NameOrErr = getNameSection(File); in parseToInterfaceFile()
595 auto CurrVersionOrErr = getPackedVersion(File, TBDKey::CurrentVersion); in parseToInterfaceFile()
600 auto CompVersionOrErr = getPackedVersion(File, TBDKey::CompatibilityVersion); in parseToInterfaceFile()
605 auto SwiftABIOrErr = getSwiftVersion(File); in parseToInterfaceFile()
610 auto FlagsOrErr = getFlags(File); in parseToInterfaceFile()
615 auto UmbrellasOrErr = getUmbrellaSection(File, Targets); in parseToInterfaceFile()
620 auto ClientsOrErr = in parseToInterfaceFile()
626 auto RLOrErr = in parseToInterfaceFile()
632 auto RPathsOrErr = getLibSection(File, TBDKey::RPath, TBDKey::Paths, Targets); in parseToInterfaceFile()
637 auto ExportsOrErr = getSymbolSection(File, TBDKey::Exports, Targets); in parseToInterfaceFile()
642 auto ReexportsOrErr = getSymbolSection(File, TBDKey::Reexports, Targets); in parseToInterfaceFile()
647 auto UndefinedsOrErr = getSymbolSection(File, TBDKey::Undefineds, Targets); in parseToInterfaceFile()
662 for (auto &T : Targets) in parseToInterfaceFile()
664 for (auto &[Lib, Targets] : Clients) in parseToInterfaceFile()
665 for (auto Target : Targets) in parseToInterfaceFile()
667 for (auto &[Lib, Targets] : ReexportLibs) in parseToInterfaceFile()
668 for (auto Target : Targets) in parseToInterfaceFile()
670 for (auto &[Lib, Targets] : Umbrellas) in parseToInterfaceFile()
671 for (auto Target : Targets) in parseToInterfaceFile()
673 for (auto &[Path, Targets] : RPaths) in parseToInterfaceFile()
674 for (auto Target : Targets) in parseToInterfaceFile()
676 for (auto &[Targets, Symbols] : Exports) in parseToInterfaceFile()
677 for (auto &Sym : Symbols) in parseToInterfaceFile()
679 for (auto &[Targets, Symbols] : Reexports) in parseToInterfaceFile()
680 for (auto &Sym : Symbols) in parseToInterfaceFile()
682 for (auto &[Targets, Symbols] : Undefineds) in parseToInterfaceFile()
683 for (auto &Sym : Symbols) in parseToInterfaceFile()
695 for (auto Lib : *Files) { in getInlinedLibs()
696 auto IFOrErr = parseToInterfaceFile(Lib.getAsObject()); in getInlinedLibs()
699 auto IF = std::move(*IFOrErr); in getInlinedLibs()
710 auto ValOrErr = parse(JSON); in getInterfaceFileFromJSON()
714 auto *Root = ValOrErr->getAsObject(); in getInterfaceFileFromJSON()
715 auto VersionOrErr = StubParser::getVersion(Root); in getInterfaceFileFromJSON()
721 auto IFOrErr = StubParser::parseToInterfaceFile(MainLib); in getInterfaceFileFromJSON()
727 auto IFsOrErr = StubParser::getInlinedLibs(Root); in getInterfaceFileFromJSON()
730 for (auto &File : *IFsOrErr) { in getInterfaceFileFromJSON()
769 for (const auto Targ : ActiveTargets) { in serializeTargetInfo()
796 for (const auto &[Targets, Values] : Entries) { in serializeAttrToTargets()
810 for (const auto &[Target, Val] : Values) in serializeField()
815 for (const auto &[Val, Targets] : Entries) in serializeField()
821 for (const auto &[Val, Targets] : Entries) in serializeField()
829 for (const auto &Ref : Values) { in serializeField()
857 auto AssignForSymbolType = [](SymbolFields::SymbolTypes &Assignment, in serializeSymbols()
882 for (const auto *Sym : Symbols) { in serializeSymbols()
885 auto JSONTargets = serializeTargets(Targets, ActiveTargets); in serializeSymbols()
894 auto InsertSymbolsToJSON = [](Object &SymSection, TBDKey SegmentKey, in serializeSymbols()
911 for (auto &[Targets, Fields] : Entries) { in serializeSymbols()
1000 auto MainLibOrErr = serializeIF(File); in getJSON()
1005 for (const auto &Doc : File->documents()) { in getJSON()
1006 auto LibOrErr = serializeIF(Doc.get()); in getJSON()
1023 auto TextFile = getJSON(&File, FileKind); in serializeInterfaceFileToJSON()