diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-02-15 18:01:25 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-15 18:01:25 -0800 |
commit | 6774efe9af2182e31ba1e11e14eee51ec63f5ab9 (patch) | |
tree | 5876846cf34e77bfc688b3f684615858e727b25d /src/codegen/mod.rs | |
parent | ac4971778b5823f94cbaf0188464790006e407c8 (diff) | |
parent | 70c61e1ebd1b0270953b8e33b74bfff578ccc82f (diff) |
Auto merge of #518 - pornel:typedefstruct, r=emilio
typedef struct {} name
Fixes #427
It looks like clang is doing the hard work of getting the right name from the typedef, but it falls back to arbitrary pretty-printed descriptions if it can't find a typedef. I couldn't find an API to check whether the name comes from a typedef, so I just filter out non-ident-like spellings.
Diffstat (limited to 'src/codegen/mod.rs')
0 files changed, 0 insertions, 0 deletions