diff options
-rw-r--r-- | src/clang.rs | 4 | ||||
-rw-r--r-- | src/clangll.rs | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/src/clang.rs b/src/clang.rs index e5943b6f..de405c9d 100644 --- a/src/clang.rs +++ b/src/clang.rs @@ -1050,7 +1050,9 @@ pub fn kind_to_str(x: Enum_CXCursorKind) -> &'static str { //CXCursor_FirstPreprocessing => "FirstPreprocessing", //CXCursor_LastPreprocessing => "LastPreprocessing", CXCursor_PackedAttr => "PackedAttr", - + CXCursor_ModuleImportDecl => "ModuleImportDecl", + CXCursor_TypeAliasTemplateDecl => "TypeAliasTemplateDecl", + CXCursor_StaticAssert => "StaticAssert", _ => "?", } } diff --git a/src/clangll.rs b/src/clangll.rs index 47f41ff1..272fa574 100644 --- a/src/clangll.rs +++ b/src/clangll.rs @@ -313,8 +313,11 @@ pub const CXCursor_InclusionDirective: c_uint = 503; pub const CXCursor_FirstPreprocessing: c_uint = 500; pub const CXCursor_LastPreprocessing: c_uint = 503; pub const CXCursor_ModuleImportDecl: c_uint = 600; +pub const CXCursor_TypeAliasTemplateDecl: c_uint = 601; +pub const CXCursor_StaticAssert: c_uint = 602; pub const CXCursor_FirstExtraDecl: c_uint = 600; -pub const CXCursor_LastExtraDecl: c_uint = 600; +pub const CXCursor_LastExtraDecl: c_uint = 602; +pub const CXCursor_OverloadCandidate: c_uint = 700; #[repr(C)] #[derive(Copy, Clone)] pub struct CXCursor { |