@@ -1038,11 +1038,13 @@ class LLVM_LIBRARY_VISIBILITY ClangImporter::Implementation
1038
1038
// / to system APIs.
1039
1039
// / \param name The name of the function.
1040
1040
// / \param[out] parameterList The parameters visible inside the function body.
1041
- ImportedType importFunctionType (DeclContext *dc,
1042
- const clang::FunctionDecl *clangDecl,
1043
- ArrayRef<const clang::ParmVarDecl *> params,
1044
- bool isVariadic, bool isFromSystemModule,
1045
- DeclName name, ParameterList *¶meterList);
1041
+ ImportedType
1042
+ importFunctionParamsAndReturnType (DeclContext *dc,
1043
+ const clang::FunctionDecl *clangDecl,
1044
+ ArrayRef<const clang::ParmVarDecl *> params,
1045
+ bool isVariadic, bool isFromSystemModule,
1046
+ DeclName name,
1047
+ ParameterList *¶meterList);
1046
1048
1047
1049
// / Import the given function return type.
1048
1050
// /
@@ -1093,7 +1095,7 @@ class LLVM_LIBRARY_VISIBILITY ClangImporter::Implementation
1093
1095
// / the return type of this method.
1094
1096
// /
1095
1097
// / Note that this is not appropriate to use for property accessor methods.
1096
- // / Use #importAccessorMethodType instead.
1098
+ // / Use #importAccessorParamsAndReturnType instead.
1097
1099
// /
1098
1100
// / \param dc The context the method is being imported into.
1099
1101
// / \param clangDecl The underlying declaration.
@@ -1104,20 +1106,22 @@ class LLVM_LIBRARY_VISIBILITY ClangImporter::Implementation
1104
1106
// / to system APIs.
1105
1107
// / \param[out] bodyParams The patterns visible inside the function body.
1106
1108
// / \param importedName How to import the name of the method.
1107
- // / \param[out] errorConvention Whether and how the method throws NSErrors.
1109
+ // / \param[out] errorConv Whether and how the method throws NSErrors.
1108
1110
// / \param kind Controls whether we're building a type for a method that
1109
1111
// / needs special handling.
1110
1112
// /
1111
1113
// / \returns the imported result type, or null if the type cannot be
1112
1114
// / imported.
1113
1115
ImportedType
1114
- importMethodType (const DeclContext *dc,
1115
- const clang::ObjCMethodDecl *clangDecl,
1116
- ArrayRef<const clang::ParmVarDecl *> params, bool isVariadic,
1117
- bool isFromSystemModule, ParameterList **bodyParams,
1118
- importer::ImportedName importedName,
1119
- Optional<ForeignErrorConvention> &errorConvention,
1120
- SpecialMethodKind kind);
1116
+ importMethodParamsAndReturnType (const DeclContext *dc,
1117
+ const clang::ObjCMethodDecl *clangDecl,
1118
+ ArrayRef<const clang::ParmVarDecl *> params,
1119
+ bool isVariadic,
1120
+ bool isFromSystemModule,
1121
+ ParameterList **bodyParams,
1122
+ importer::ImportedName importedName,
1123
+ Optional<ForeignErrorConvention> &errorConv,
1124
+ SpecialMethodKind kind);
1121
1125
1122
1126
// / Import the type of an Objective-C method that will be imported as an
1123
1127
// / accessor for \p property.
@@ -1137,12 +1141,13 @@ class LLVM_LIBRARY_VISIBILITY ClangImporter::Implementation
1137
1141
// /
1138
1142
// / \returns the imported result type, or null if the type cannot be
1139
1143
// / imported.
1140
- ImportedType importAccessorMethodType (const DeclContext *dc,
1141
- const clang::ObjCPropertyDecl *property,
1142
- const clang::ObjCMethodDecl *clangDecl,
1143
- bool isFromSystemModule,
1144
- importer::ImportedName importedName,
1145
- ParameterList **params);
1144
+ ImportedType
1145
+ importAccessorParamsAndReturnType (const DeclContext *dc,
1146
+ const clang::ObjCPropertyDecl *property,
1147
+ const clang::ObjCMethodDecl *clangDecl,
1148
+ bool isFromSystemModule,
1149
+ importer::ImportedName importedName,
1150
+ ParameterList **params);
1146
1151
1147
1152
// / Determine whether the given typedef-name is "special", meaning
1148
1153
// / that it has performed some non-trivial mapping of its underlying type
0 commit comments