forked from OSchip/llvm-project
[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:
parent
3028bca6a9
commit
ad501054f1
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue