Emilio Cobos Álvarez

Results 777 comments of Emilio Cobos Álvarez

Ok, so libclang provides a `clang_Cursor_isMacroFunctionLike` API. Perhaps we could use that.

I've asked @jethrogb about what the best API for this would be. It shouldn't be a big deal to support it in bindgen once cexpr support is there.

Yeah, note that that would only work in libclang 3.9+ though.

Sorry for the lag, it's on my list of things to do. I plan to dig a bit into how C++ compilers treat repr+aligned hints because I'm not super-convinced there's...

I'm on Fedora 32. I have clang 10 and gcc 10.0.1. To be clear `make_shared` compiles just fine, but I somehow did hit a weird linker error... I do have...

> Ahhh, gotcha. I just saw https://fedoraproject.org/wiki/Changes/Stop-Shipping-Individual-Component-Libraries-In-clang-lib-Package that describes this change. I'll adjust the build system to look for libclang-cpp.so when possible. That will also simplify builds on other distros...

Generally interior mutability is the way we've been doing this, yeah. So a RefCell or so perhaps. The callbacks don't take mutable references because the `BindgenContext` they are stored in...

Other code in standard library (or user code, really) may actually be using `__uint8_t` type. I would have expected this to work if you run this with `--whitelist-type MunGuid`, but...

I haven't filed because it wasn't clear to me it was fixable without upstream changes to libclang (I took a look and the clang cursors don't even seem there). But...