summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRémy HUBSCHER <rhubscher@mozilla.com>2016-11-04 16:37:28 +0100
committerRémy HUBSCHER <rhubscher@mozilla.com>2016-11-04 16:37:28 +0100
commit2523bf49939dc876b00c9f0c2de2b5bdf328a25c (patch)
tree8fce3d6d5b9fcb5468cb9d8304e31536cc71cedd /src
parentb49bfea05b9cd4986a0f535e3193f2889e9db93b (diff)
Rip it out please.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/clang.rs11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/clang.rs b/src/clang.rs
index dd4bcdf8..85d0914f 100755
--- a/src/clang.rs
+++ b/src/clang.rs
@@ -401,17 +401,6 @@ impl Cursor {
}
/// Given that this cursor's referent is a function/method call or
- /// declaration, return a cursor to its return type.
- pub fn ret_type(&self) -> Option<Type> {
- unsafe {
- let ret = Type {
- x: clang_getCursorResultType(self.x),
- };
- if true { Some(ret) } else { None }
- }
- }
-
- /// Given that this cursor's referent is a function/method call or
/// declaration, return the number of arguments it takes.
///
/// Returns -1 if the cursor's referent is not a function/method call or