[PATCH] D128556: Make Objective-C++ match Objective-C's behavior on implicit ivar access when `self` is shadowed
Michael Wyman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 29 23:06:21 PDT 2022
mwyman updated this revision to Diff 441270.
mwyman added a comment.
Change to use a unit test on the semantic lookup code, rather than a codegen test; I realized the name lookup behavior could be more directly checked by inspecting the internal references in the generated AST to ensure the found "self" is the implicit parameter "self".
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D128556/new/
https://reviews.llvm.org/D128556
Files:
clang/lib/Sema/SemaLookup.cpp
clang/unittests/Sema/SemaLookupTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128556.441270.patch
Type: text/x-patch
Size: 3945 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220630/47a45a4d/attachment-0001.bin>
More information about the cfe-commits
mailing list