From https://github.com/Rust-for-Linux/linux/pull/835, reported by @YakoYakoYokuYoku. I have not checked yet whether this is due to libclang, but nevertheless I wanted to have the issue opened here. ### Input C/C++ Header ```C++ void f(const char __attribute__((btf_type_tag("a"))) *); ``` ### Bindgen Invocation ``` $ bindgen input.h ``` ### Actual Results ```rust extern "C" { pub fn f(arg1: *mut ::std::os::raw::c_char); } ``` ### Expected Results ```rust extern "C" { pub fn f(arg1: *const ::std::os::raw::c_char); } ```