summaryrefslogtreecommitdiff
path: root/src/clangll.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/clangll.rs')
-rw-r--r--src/clangll.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/clangll.rs b/src/clangll.rs
index dd836694..b94356bc 100644
--- a/src/clangll.rs
+++ b/src/clangll.rs
@@ -408,6 +408,10 @@ pub const CXType_IncompleteArray: c_uint = 114;
pub const CXType_VariableArray: c_uint = 115;
pub const CXType_DependentSizedArray: c_uint = 116;
pub const CXType_MemberPointer: c_uint = 117;
+#[cfg(not(feature="llvm_stable"))]
+pub const CXType_Auto: c_uint = 118;
+#[cfg(not(feature="llvm_stable"))]
+pub const CXType_Elaborated: c_uint = 119;
pub type Enum_CXCallingConv = c_uint;
pub const CXCallingConv_Default: c_uint = 0;
pub const CXCallingConv_C: c_uint = 1;
@@ -1108,6 +1112,8 @@ extern "C" {
pub fn clang_Type_getNumTemplateArguments(T: CXType) -> c_int;
pub fn clang_Type_getTemplateArgumentAsType(T: CXType, i: c_int) ->
CXType;
+ #[cfg(not(feature="llvm_stable"))]
+ pub fn clang_Type_getNamedType(CT: CXType) -> CXType;
pub fn clang_Cursor_isBitField(C: CXCursor) -> c_uint;
#[cfg(not(feature="llvm_stable"))]
pub fn clang_Cursor_isFunctionInlined(C: CXCursor) -> c_uint;