diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-11-06 12:13:25 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-06 12:13:25 -0600 |
commit | 3acb3140d975de95a2258f86113e03555949c32c (patch) | |
tree | 1595a823068682d0956584290a59ae9e066fa164 /src | |
parent | eaa674ef131f256fd01916f1f4ada6e8b76be749 (diff) | |
parent | 58cf53e1e5eb6a28c6a092faaad9a057ba0a2c1c (diff) |
Auto merge of #217 - jcdyer:master, r=emilio
Remove unused template_arg_kind
Addresses #133
Diffstat (limited to 'src')
-rwxr-xr-x | src/clang.rs | 9 |
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, |