@@ -299,7 +299,7 @@ static void diagnoseFunctionParamNotRepresentable(
299
299
static bool isParamListRepresentableInObjC (const AbstractFunctionDecl *AFD,
300
300
const ParameterList *PL,
301
301
ObjCReason Reason) {
302
- // If you change this function, you must add or modify a test in PrintAsObjC .
302
+ // If you change this function, you must add or modify a test in PrintAsClang .
303
303
ASTContext &ctx = AFD->getASTContext ();
304
304
auto &diags = ctx.Diags ;
305
305
auto behavior = behaviorLimitForObjCReason (Reason, ctx);
@@ -598,7 +598,7 @@ bool swift::isRepresentableInObjC(
598
598
asyncConvention = None;
599
599
errorConvention = None;
600
600
601
- // If you change this function, you must add or modify a test in PrintAsObjC .
601
+ // If you change this function, you must add or modify a test in PrintAsClang .
602
602
ASTContext &ctx = AFD->getASTContext ();
603
603
DiagnosticStateRAII diagState (ctx.Diags );
604
604
@@ -1025,7 +1025,7 @@ bool swift::isRepresentableInObjC(
1025
1025
}
1026
1026
1027
1027
bool swift::isRepresentableInObjC (const VarDecl *VD, ObjCReason Reason) {
1028
- // If you change this function, you must add or modify a test in PrintAsObjC .
1028
+ // If you change this function, you must add or modify a test in PrintAsClang .
1029
1029
1030
1030
if (VD->isInvalid ())
1031
1031
return false ;
@@ -1085,7 +1085,7 @@ bool swift::isRepresentableInObjC(const VarDecl *VD, ObjCReason Reason) {
1085
1085
}
1086
1086
1087
1087
bool swift::isRepresentableInObjC (const SubscriptDecl *SD, ObjCReason Reason) {
1088
- // If you change this function, you must add or modify a test in PrintAsObjC .
1088
+ // If you change this function, you must add or modify a test in PrintAsClang .
1089
1089
ASTContext &ctx = SD->getASTContext ();
1090
1090
DiagnosticStateRAII diagState (ctx.Diags );
1091
1091
auto behavior = behaviorLimitForObjCReason (Reason, ctx);
0 commit comments