summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ. Cliff Dyer <cdyer@edx.org>2016-11-05 16:40:58 -0400
committerJ. Cliff Dyer <cdyer@edx.org>2016-11-06 10:42:27 -0500
commit58cf53e1e5eb6a28c6a092faaad9a057ba0a2c1c (patch)
tree1595a823068682d0956584290a59ae9e066fa164
parenteaa674ef131f256fd01916f1f4ada6e8b76be749 (diff)
Remove unused template_arg_kind function.
-rwxr-xr-xsrc/clang.rs9
1 files changed, 0 insertions, 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<Visitor>(cur: CXCursor,