We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 987b0c4 commit 6d3df91Copy full SHA for 6d3df91
1 file changed
cpp2rust/converter/converter.cpp
@@ -1633,7 +1633,7 @@ bool Converter::VisitIntegerLiteral(clang::IntegerLiteral *expr) {
1633
computed_expr_type_ = ComputedExprType::FreshValue;
1634
return false;
1635
}
1636
- StrCat(getIntegerLiteral(expr, false));
+ StrCat(getIntegerLiteral(expr, Mapper::Map(expr->getType()) != "i32"));
1637
1638
1639
0 commit comments