@@ -433,7 +433,7 @@ bool cpp_typecheckt::overloadable(const exprt &expr)
433
433
t=t.subtype ();
434
434
435
435
if (t.id ()==ID_struct ||
436
- // this might be an incomplete struct (template) here
436
+ // this might be an incomplete struct (template) here
437
437
t.id ()==ID_incomplete_struct ||
438
438
t.id ()==ID_union ||
439
439
t.id ()==ID_c_enum)
@@ -605,7 +605,7 @@ bool cpp_typecheckt::operator_is_overloaded(exprt &expr)
605
605
// We try and fail silently, maybe conversions will work
606
606
// instead.
607
607
608
- // TODO: need to resolve an incomplete struct (template) here
608
+ // TODO: need to resolve an incomplete struct (template) here
609
609
// go into scope of first operand
610
610
if (expr.op0 ().type ().id ()==ID_symbol &&
611
611
follow (expr.op0 ().type ()).id ()==ID_struct)
@@ -2394,8 +2394,9 @@ void cpp_typecheckt::typecheck_method_application(
2394
2394
cpp_saved_template_mapt saved_map (template_map);
2395
2395
const irept &template_type=tag_symbol.type .find (ID_C_template);
2396
2396
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));
2399
2400
add_method_body (&method_symbol);
2400
2401
#ifdef DEBUG
2401
2402
std::cout << " MAP for " << symbol << " :" << std::endl;
0 commit comments