We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 042eac9 commit addc4cdCopy full SHA for addc4cd
1 file changed
cpp2rust/converter/converter.cpp
@@ -1641,7 +1641,8 @@ Converter::CallInfo Converter::CollectCallInfo(clang::CallExpr *expr) {
1641
: proto->getParamType(i),
1642
.expr = arg,
1643
.has_default = function && function->getParamDecl(i)->hasDefaultArg(),
1644
- .kind = (IsLiteral(arg) || info.is_libc_passthrough) ? Kind::Inline : Kind::Hoisted,
+ .kind = (IsLiteral(arg) || info.is_libc_passthrough) ? Kind::Inline
1645
+ : Kind::Hoisted,
1646
};
1647
bool is_materialize = clang::isa<clang::MaterializeTemporaryExpr>(arg);
1648
if (is_materialize && ca.param_type->isLValueReferenceType()) {
0 commit comments