Skip to content

windows-rdl / clang: how will we deal with quirks? #4209

@riverar

Description

@riverar

The source headers sometimes exhibit quirks that may necessitate a facility to post-process our output.

Some examples thus far:

  1. named enum with same named constant

    #[repr(i32)]
            enum SymTagEnum {
    ...
                SymTagPublicSymbol = 10,
                SymTagUDT = 11,
                SymTagEnum = 12,
    ...
            }
    
  2. midl generated struct, enum names

    struct __MIDL___MIDL_itf_dia2_0000_0049_0001 { ... }
    enum __MIDL___MIDL_itf_dia2_0000_0000_0001 { ... }
    

    (In my experience with DIA SDK, the IDL was out of sync with the headers. Perhaps this can be revisited/fixed up stream...)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions