Skip to content

Commit 0c0a0fa

Browse files
committed
Clang importer: clean up importing of subscripts.
There was a lot of dodgy code in here that made subscript imports not necessarily idempotent. Try to clean up the flow a bit, eliminating the DeclContext parameter (which caused some "interesting" effects if misused), be more methodical about handling the redeclaration case, eliminate some unnecessary recursion due to performing name lookup in the wrong place for override checking, etc.
1 parent 9fd0831 commit 0c0a0fa

File tree

1 file changed

+238
-164
lines changed

1 file changed

+238
-164
lines changed

0 commit comments

Comments
 (0)