From 58cf53e1e5eb6a28c6a092faaad9a057ba0a2c1c Mon Sep 17 00:00:00 2001 From: "J. Cliff Dyer" Date: Sat, 5 Nov 2016 16:40:58 -0400 Subject: Remove unused template_arg_kind function. --- src/clang.rs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/clang.rs b/src/clang.rs index bfe0cfd3..5a2421f3 100755 --- a/src/clang.rs +++ b/src/clang.rs @@ -444,15 +444,6 @@ impl Cursor { pub fn is_virtual_base(&self) -> bool { unsafe { clang_isVirtualBase(self.x) != 0 } } - - /// Given that this cursor's referent is a template specialization or - /// declaration, get the `i`th template argument kind. - /// - /// If the referent is not a template or `i` is out of bounds, an invalid - /// kind is returned. - pub fn template_arg_kind(&self, i: c_int) -> CXTemplateArgumentKind { - unsafe { clang_Cursor_getTemplateArgumentKind(self.x, i as c_uint) } - } } extern "C" fn visit_children(cur: CXCursor, -- cgit v1.2.3