[NFC][clang] Inclusive language: rename master variable to controller in debug-info tests

[NFC] As part of using inclusive language within the llvm project, this patch
replaces master with controller in these tests.

Reviewed By: rjmccall

Differential Revision: https://reviews.llvm.org/D114108
This commit is contained in:
Quinn Pham 2021-11-17 12:21:58 -06:00
parent 3028bca6a9
commit ad501054f1
2 changed files with 7 additions and 7 deletions

View File

@ -12,17 +12,17 @@ extern void foo(void(^)(void));
@interface A:NSObject @end
@implementation A
- (void) helper {
int master = 0;
int controller = 0;
__block int m2 = 0;
__block int dbTransaction = 0;
int (^x)(void) = ^(void) { (void) self;
(void) master;
(void) controller;
(void) dbTransaction;
m2++;
return m2;
};
master = x();
controller = x();
}
@end

View File

@ -11,7 +11,7 @@
// CHECK: ${{[0-9]}} = 1
// DEBUGGER: p dbTransaction
// CHECK: ${{[0-9]}} = 0
// DEBUGGER: p master
// DEBUGGER: p controller
// CHECK: ${{[0-9]}} = 0
#include <Cocoa/Cocoa.h>
@ -21,16 +21,16 @@ extern void foo(void(^)(void));
@interface A:NSObject @end
@implementation A
- (void) helper {
int master = 0;
int controller = 0;
__block int m2 = 0;
__block int dbTransaction = 0;
int (^x)(void) = ^(void) { (void) self;
(void) master;
(void) controller;
(void) dbTransaction;
m2++;
return m2;
};
master = x();
controller = x();
}
@end