diff options
author | Quinn Pham <Quinn.Pham@ibm.com> | 2021-11-08 14:02:06 -0600 |
---|---|---|
committer | Quinn Pham <Quinn.Pham@ibm.com> | 2021-11-16 11:46:43 -0600 |
commit | 5ed404a4abd3fc3559ecc9dfc6cee83fcc3796e6 (patch) | |
tree | 0b644fcf85bed0974be247d0f753a5272b281003 /clang/test/Rewriter | |
parent | 5c539ea9f06b83b9b8fe9876ab87322fb4925f9f (diff) | |
download | llvm-5ed404a4abd3fc3559ecc9dfc6cee83fcc3796e6.zip llvm-5ed404a4abd3fc3559ecc9dfc6cee83fcc3796e6.tar.gz llvm-5ed404a4abd3fc3559ecc9dfc6cee83fcc3796e6.tar.bz2 |
[NFC][clang] Inclusive language: Rename myMaster in testcase
[NFC] As part of using inclusive language within the llvm project, this patch
replaces `_myMaster` with `_myLeader` in these testcases.
Reviewed By: ZarkoCA
Differential Revision: https://reviews.llvm.org/D113433
Diffstat (limited to 'clang/test/Rewriter')
-rw-r--r-- | clang/test/Rewriter/line-generation-test.m | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/clang/test/Rewriter/line-generation-test.m b/clang/test/Rewriter/line-generation-test.m index cafdba2..5193775 100644 --- a/clang/test/Rewriter/line-generation-test.m +++ b/clang/test/Rewriter/line-generation-test.m @@ -7,20 +7,20 @@ __attribute__((objc_root_class)) @interface MyObject { @public - id _myMaster; + id _myLeader; id _isTickledPink; } -@property(retain) id myMaster; +@property(retain) id myLeader; @property(assign) id isTickledPink; @end @implementation MyObject -@synthesize myMaster = _myMaster; +@synthesize myLeader = _myLeader; @synthesize isTickledPink = _isTickledPink; - (void) doSomething { - _myMaster = _isTickledPink; + _myLeader = _isTickledPink; } @end @@ -28,8 +28,8 @@ __attribute__((objc_root_class)) @interface MyObject { MyObject * foo () { MyObject* p; - p.isTickledPink = p.myMaster; // ok - p->_isTickledPink = p->_myMaster; + p.isTickledPink = p.myLeader; // ok + p->_isTickledPink = p->_myLeader; return p->_isTickledPink; } |