Change summary:
- Replaced inclusive lambda capture lists and non-compliant occurrences of auto.
- Consolidated EDL boot time paths and replaced TODO comments with updated notes.
- Consolidated work that required a full iteration through the dependencies list into a single pass.
#rnx
#rb Me
#jira None
[CL 4548059 by Phillip Kavan in Dev-Framework branch]
Change summary:
- Added a shared cache to FGatherConvertedClassDependencies. The ctor is now protected and access is done through the static Get() method. This prevents redundant dependency list gathering for a previously-queried class/struct type.
- Switched FGatherConvertedClassDependencies::Assets from a TArray to a TSet (for consistency w/ the other dependency lists).
- Added FGatherConvertedClassDependenciesHelperBase::AddAssetDependency() to consolidate the addition of non-converted type asset dependencies (for consistency and easier maintenance).
- Added FGatherConvertedClassDependencies::GatherAssetsReferencedByConvertedTypes() as a utility method for building a nested asset dependency chain when converted subobject types are involved.
- Modified FFakeImportTableHelper::GetClassesOfSubobjects() to flag nested asset dependencies as CDO preload dependencies for EDL on the outermost converted type. This ensures dependencies will be loaded prior to CDO construction before instancing subobjects of a converted class type.
- Modified FGatherConvertedClassDependencies::AllDependencies() to include nested asset dependencies; this ensures they're included when we're generating the code needed to support the linker's "fake" export table at runtime.
- Some misc. cleanup; replaced a few instances of 'auto' with explicit types and updated a few lambda capture lists in place of previous use of '&' as a catch-all.
#jira UE-62514
#rb Dan.OConnor
[CL 4541116 by Phillip Kavan in Dev-Framework branch]
Change summary:
- Modified FEmitDefaultValueHelper::GenerateUserStructConstructor() to ensure that POD fields are always initialized in the converted UDS ctor.
#jira UE-62764
#rb Ben.Zeigler
[CL 4522000 by Phillip Kavan in Dev-Framework branch]