Add tool_header2rdl: standalone C/C++ header to RDL converter#4148
Add tool_header2rdl: standalone C/C++ header to RDL converter#4148
Conversation
Agent-Logs-Url: https://github.com/microsoft/windows-rs/sessions/99f3ab0f-a719-41ac-8c6d-5a786e48fe7c Co-authored-by: kennykerr <9845234+kennykerr@users.noreply.github.com>
Agent-Logs-Url: https://github.com/microsoft/windows-rs/sessions/99f3ab0f-a719-41ac-8c6d-5a786e48fe7c Co-authored-by: kennykerr <9845234+kennykerr@users.noreply.github.com>
|
@copilot also check on the build error |
Agent-Logs-Url: https://github.com/microsoft/windows-rs/sessions/118bff9f-80b9-4353-95fd-72295cf20342 Co-authored-by: kennykerr <9845234+kennykerr@users.noreply.github.com>
Agent-Logs-Url: https://github.com/microsoft/windows-rs/sessions/118bff9f-80b9-4353-95fd-72295cf20342 Co-authored-by: kennykerr <9845234+kennykerr@users.noreply.github.com>
Agent-Logs-Url: https://github.com/microsoft/windows-rs/sessions/118bff9f-80b9-4353-95fd-72295cf20342 Co-authored-by: kennykerr <9845234+kennykerr@users.noreply.github.com>
…mpile time Agent-Logs-Url: https://github.com/microsoft/windows-rs/sessions/fc2cd169-dab4-4b61-957d-07fd01046430 Co-authored-by: kennykerr <9845234+kennykerr@users.noreply.github.com>
The build error was that Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
@copilot clippy failed |
Agent-Logs-Url: https://github.com/microsoft/windows-rs/sessions/d1401d86-5126-4a4f-bbbc-6535082e14eb Co-authored-by: kennykerr <9845234+kennykerr@users.noreply.github.com>
|
@copilot check on the build failure |
…n windows-11-arm) Agent-Logs-Url: https://github.com/microsoft/windows-rs/sessions/af8a019b-1556-4371-a752-220a05794b89 Co-authored-by: kennykerr <9845234+kennykerr@users.noreply.github.com>
Fixed in 4d4b7de. The |
|
@copilot check build - looks like libclang might be missing on the windows runners |
Agent-Logs-Url: https://github.com/microsoft/windows-rs/sessions/5fde6eee-5c92-4b80-9467-174e457dcdfc Co-authored-by: kennykerr <9845234+kennykerr@users.noreply.github.com>
|
@copilot when the file name has a space in it the auto-link link feature doesn't seem to work in VS Code so I can't click on the error to get to the file/line/column location - can you fix? For example: |
…s with spaces Agent-Logs-Url: https://github.com/microsoft/windows-rs/sessions/64bd1078-cbcc-4831-a11d-5632adaea666 Co-authored-by: kennykerr <9845234+kennykerr@users.noreply.github.com>
Fixed in ce96608. The file path is now wrapped in double quotes in the error message: VS Code's terminal link detection recognizes |
@copilot nope that doesn't work - see the image |
…from libclang Agent-Logs-Url: https://github.com/microsoft/windows-rs/sessions/044f4f3c-52c1-4050-8a9d-fc9645feb025 Co-authored-by: kennykerr <9845234+kennykerr@users.noreply.github.com>
Agent-Logs-Url: https://github.com/microsoft/windows-rs/sessions/044f4f3c-52c1-4050-8a9d-fc9645feb025 Co-authored-by: kennykerr <9845234+kennykerr@users.noreply.github.com>
Fixed in b02cdaa. The root cause was that libclang sometimes produces paths with redundant double backslashes (e.g., The fix normalizes the path using |
|
@copilot still doesn't work |
…c-style) for VS Code terminal link detection Agent-Logs-Url: https://github.com/microsoft/windows-rs/sessions/8ae06f54-fe23-4c20-9a74-e48e3b7c2aa6 Co-authored-by: kennykerr <9845234+kennykerr@users.noreply.github.com>
Fixed in 5e4fb92. The quoted format Switched to the plain |
…h>/define split) Agent-Logs-Url: https://github.com/microsoft/windows-rs/sessions/c0742ad1-1d88-46f2-8a8b-f81917011222 Co-authored-by: kennykerr <9845234+kennykerr@users.noreply.github.com>
…dd wchar_t mapping; add midl.h test Agent-Logs-Url: https://github.com/microsoft/windows-rs/sessions/4cd17203-0e5a-4bdc-8e13-ffed492542a5 Co-authored-by: kennykerr <9845234+kennykerr@users.noreply.github.com>
Agent-Logs-Url: https://github.com/microsoft/windows-rs/sessions/4cd17203-0e5a-4bdc-8e13-ffed492542a5 Co-authored-by: kennykerr <9845234+kennykerr@users.noreply.github.com>

collect(): skip forward-declaration StructDecl/ClassDecl (non-definitions) — don't insert intoseenprematurelycollect_typedef(): handleClassDeclchild fromtypedef interface X X;— return early without inserting intoseenfor non-definitionscollect_typedef()general case: detect self-referential forward-declaration aliases (e.g.typedef struct X X;in C++ mode) by checkingvalue == nameand incomplete-Record canonical type; skip without claimingseen; hoistcollector.seen.insertto avoid duplicationmap_type(): addTypeKind::WChar => "u16"sowchar_t/const wchar_t*maps correctly instead of falling back to*mut u8midl.htest exercising MIDL-style COM forward declarations +MIDL_INTERFACEmacro pattern (self-contained, no Windows SDK dependency)midl.h.argssidecar with--cppmidl.rdlgolden showing correct interface definitions