Strip CXType_RValueReference

This commit is contained in:
Fangrui Song 2018-01-20 23:12:23 -08:00
parent bc28bfef45
commit bf7ffb3c9d

View File

@ -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;