Skip to content

Commit 3acb314

Browse files
author
bors-servo
authored
Auto merge of #217 - jcdyer:master, r=emilio
Remove unused template_arg_kind Addresses #133
2 parents eaa674e + 58cf53e commit 3acb314

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/clang.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -444,15 +444,6 @@ impl Cursor {
444444
pub fn is_virtual_base(&self) -> bool {
445445
unsafe { clang_isVirtualBase(self.x) != 0 }
446446
}
447-
448-
/// Given that this cursor's referent is a template specialization or
449-
/// declaration, get the `i`th template argument kind.
450-
///
451-
/// If the referent is not a template or `i` is out of bounds, an invalid
452-
/// kind is returned.
453-
pub fn template_arg_kind(&self, i: c_int) -> CXTemplateArgumentKind {
454-
unsafe { clang_Cursor_getTemplateArgumentKind(self.x, i as c_uint) }
455-
}
456447
}
457448

458449
extern "C" fn visit_children<Visitor>(cur: CXCursor,

0 commit comments

Comments
 (0)