namespace ir
{
-class corpus;
-/// A convenience typedef for shared pointer to @ref corpus.
-typedef shared_ptr<corpus> corpus_sptr;
-
/// This is the abstraction of a set of translation units (themselves
/// seen as bundles of unitary abi artefacts like types and decls)
/// bundled together as a corpus. A corpus is thus the Application
convert_node_to_decl(class_decl_sptr node)
{return node;}
-
/// Get the declaration of a type_base node.
///
/// @param node the type node to consider.
}
}
- assert(return_type);
-
function_type_sptr fn_type(as_method_decl
? new method_type(return_type, as_method_decl,
parms, /*is_const=*/false,
: new function_type(return_type,
parms, size, align));
+ assert(fn_type);
+
function_decl_sptr fn_decl(as_method_decl
? new method_decl (name, fn_type,
declared_inline, loc,
/*is_static=*/false, o);
}
+ interned_string id = ctxt.get_id_for_type(fn_type);
+
o << " id='"
- << ctxt.get_id_for_type(fn_type) << "'";
+ << id << "'";
o << ">\n";
type_base_sptr parm_type;
string id = (*i)->get_id_string();
lib_corpus->get_sym_ids_of_fns_to_keep().push_back(id);
}
+
for (elf_symbols::const_iterator i =
app_corpus->get_sorted_undefined_var_symbols().begin();
i != app_corpus->get_sorted_undefined_var_symbols().end();