From bf7ffb3c9db1e0fea09d0512e04be20e2237338e Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Sat, 20 Jan 2018 23:12:23 -0800 Subject: [PATCH] Strip CXType_RValueReference --- src/clang_cursor.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/clang_cursor.cc b/src/clang_cursor.cc index 44a29907..c5aedc00 100644 --- a/src/clang_cursor.cc +++ b/src/clang_cursor.cc @@ -60,6 +60,7 @@ ClangType ClangType::strip_qualifiers() const { switch (cx_type.kind) { case CXType_LValueReference: case CXType_Pointer: + case CXType_RValueReference: return clang_getPointeeType(cx_type); default: break;