Merge pull request #60646 from eeckstein/improve-accessutils

Swift AccessUtils: improvements and bug fixes
This commit is contained in:
eeckstein
2022-08-24 09:31:34 +02:00
committed by GitHub
10 changed files with 562 additions and 287 deletions

View File

@@ -274,6 +274,7 @@ BridgedType SILType_getNominalFieldType(BridgedType type, SwiftInt index,
BridgedFunction function);
SwiftInt SILType_getFieldIdxOfNominalType(BridgedType type,
llvm::StringRef fieldName);
llvm::StringRef SILType_getNominalFieldName(BridgedType type, SwiftInt index);
SwiftInt SILType_getCaseIdxOfEnumType(BridgedType type,
llvm::StringRef caseName);