Author: Quinn Pham Date: 2021-11-22T14:02:54-06:00 New Revision: ad501054f1b5ce0aca47c931aa03a22706e4ff8d
URL: https://github.com/llvm/llvm-project/commit/ad501054f1b5ce0aca47c931aa03a22706e4ff8d DIFF: https://github.com/llvm/llvm-project/commit/ad501054f1b5ce0aca47c931aa03a22706e4ff8d.diff LOG: [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 Added: Modified: clang/test/CodeGenObjC/debug-info-block-helper.m cross-project-tests/debuginfo-tests/llgdb-tests/blocks.m Removed: ################################################################################ diff --git a/clang/test/CodeGenObjC/debug-info-block-helper.m b/clang/test/CodeGenObjC/debug-info-block-helper.m index 914962897fd4a..ac4ba39976b7e 100644 --- a/clang/test/CodeGenObjC/debug-info-block-helper.m +++ b/clang/test/CodeGenObjC/debug-info-block-helper.m @@ -12,17 +12,17 @@ @interface NSObject { @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 diff --git a/cross-project-tests/debuginfo-tests/llgdb-tests/blocks.m b/cross-project-tests/debuginfo-tests/llgdb-tests/blocks.m index 8e5a21213200d..79ec6fd271e8a 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 @@ @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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits