We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 747195b commit 1645da1Copy full SHA for 1645da1
1 file changed
cpp2rust/converter/models/converter_refcount.cpp
@@ -2158,6 +2158,10 @@ std::string ConverterRefCount::ConvertMappedMethodCall(
2158
}
2159
2160
std::string ConverterRefCount::ConvertPointeeType(clang::QualType ptr_type) {
2161
+ if (ptr_type->getPointeeType()->isIntegerType()) {
2162
+ return ToString(ptr_type->getPointeeType());
2163
+ }
2164
+
2165
// Pointee of a pointer to incomplete type is an incomplete type that does
2166
// not have a translation rule. Hence ToString(ptr_type->getPointeeType()) is
2167
// not enough
0 commit comments