Skip to content

Fix creating ObjCInterfaceType instances. - #662

Merged
tannergooding merged 1 commit into
dotnet:mainfrom
rolfbjarne:objcinterfacetype-instances
Jan 5, 2026
Merged

Fix creating ObjCInterfaceType instances.#662
tannergooding merged 1 commit into
dotnet:mainfrom
rolfbjarne:objcinterfacetype-instances

Conversation

@rolfbjarne

Copy link
Copy Markdown
Member

No description provided.

@rolfbjarne
rolfbjarne force-pushed the objcinterfacetype-instances branch from 163d194 to 64bcf65 Compare January 5, 2026 10:37
rolfbjarne added a commit to rolfbjarne/ClangSharp that referenced this pull request Jan 5, 2026
rolfbjarne added a commit to rolfbjarne/ClangSharp that referenced this pull request Jan 5, 2026
…lass. dotnet#662.

Due to this code:

https://github.com/llvm/llvm-project/blob/393783fff844d8919a090f74e641d78c50bcc7f4/clang/tools/libclang/CXType.cpp#L154-L162

an ElaboratedType or TypeWithKeyword can actually have a type of
CXType_ObjCClass, CXType_ObjCId, or CXType_ObjCSel, so handle this case.
@tannergooding
tannergooding merged commit f3cf11b into dotnet:main Jan 5, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants