This allows tools like rust-bindgen to detect typedefs properly.
See https://github.com/rust-lang/rust-bindgen/pull/2372 (which relies on
this patch) for an example.
Paths
| Differential D140075
[libclang] Expose using shadow types and declarations in libclang. Needs ReviewPublic Authored by emilio on Dec 14 2022, 5:24 PM.
Details
Summary This allows tools like rust-bindgen to detect typedefs properly. See https://github.com/rust-lang/rust-bindgen/pull/2372 (which relies on
Diff Detail
Unit TestsFailed
Event TimelineComment Actions (As in my previous commit, picking based on git log, please review / forward as appropriate. Thanks again!) serge-sans-paille added inline comments.
Revision Contents
Diff 483049 clang/include/clang-c/Index.h
clang/lib/Sema/SemaCodeComplete.cpp
clang/test/Index/print-type.cpp
clang/tools/libclang/CXCursor.cpp
clang/tools/libclang/CXType.cpp
|
In which case can this be null?