aboutsummaryrefslogtreecommitdiff
path: root/cross-project-tests
diff options
context:
space:
mode:
authorQuinn Pham <Quinn.Pham@ibm.com>2021-11-17 12:21:58 -0600
committerQuinn Pham <Quinn.Pham@ibm.com>2021-11-22 14:02:54 -0600
commitad501054f1b5ce0aca47c931aa03a22706e4ff8d (patch)
tree7929af0ec6552d0463da2b2ce8d5f353c6822d0e /cross-project-tests
parent3028bca6a987e424365ca67f6dc29e037e52ea11 (diff)
downloadllvm-ad501054f1b5ce0aca47c931aa03a22706e4ff8d.zip
llvm-ad501054f1b5ce0aca47c931aa03a22706e4ff8d.tar.gz
llvm-ad501054f1b5ce0aca47c931aa03a22706e4ff8d.tar.bz2
[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
Diffstat (limited to 'cross-project-tests')
-rw-r--r--cross-project-tests/debuginfo-tests/llgdb-tests/blocks.m8
1 files changed, 4 insertions, 4 deletions
diff --git a/cross-project-tests/debuginfo-tests/llgdb-tests/blocks.m b/cross-project-tests/debuginfo-tests/llgdb-tests/blocks.m
index 8e5a212..79ec6fd 100644
--- a/cross-project-tests/debuginfo-tests/llgdb-tests/blocks.m
+++ b/cross-project-tests/debuginfo-tests/llgdb-tests/blocks.m
@@ -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