@@ -433,7 +433,7 @@ bool cpp_typecheckt::overloadable(const exprt &expr)
433433 t=t.subtype ();
434434
435435 if (t.id ()==ID_struct ||
436- // this might be an incomplete struct (template) here
436+ // this might be an incomplete struct (template) here
437437 t.id ()==ID_incomplete_struct ||
438438 t.id ()==ID_union ||
439439 t.id ()==ID_c_enum)
@@ -605,7 +605,7 @@ bool cpp_typecheckt::operator_is_overloaded(exprt &expr)
605605 // We try and fail silently, maybe conversions will work
606606 // instead.
607607
608- // TODO: need to resolve an incomplete struct (template) here
608+ // TODO: need to resolve an incomplete struct (template) here
609609 // go into scope of first operand
610610 if (expr.op0 ().type ().id ()==ID_symbol &&
611611 follow (expr.op0 ().type ()).id ()==ID_struct)
@@ -2394,8 +2394,9 @@ void cpp_typecheckt::typecheck_method_application(
23942394 cpp_saved_template_mapt saved_map (template_map);
23952395 const irept &template_type=tag_symbol.type .find (ID_C_template);
23962396 const irept &template_args=tag_symbol.type .find (ID_C_template_arguments);
2397- template_map.build (static_cast <const template_typet &>(template_type),
2398- static_cast <const cpp_template_args_tct &>(template_args));
2397+ template_map.build (
2398+ static_cast <const template_typet &>(template_type),
2399+ static_cast <const cpp_template_args_tct &>(template_args));
23992400 add_method_body (&method_symbol);
24002401#ifdef DEBUG
24012402 std::cout << " MAP for " << symbol << " :" << std::endl;
0 commit comments