Lines Matching refs:translation_unit
801 * include/abg-ir.h (translation_unit::translation_unit): Likewise.
802 (translation_unit::{get_environment, set_environment}): Likewise.
873 * src/abg-ir-priv.h (translation_unit::priv::env_): Make this an
875 (translation_unit::priv::priv): Take an environment&, not an
886 (return_comparison_result, translation_unit::{get_global_scope,
888 (translation_unit::{translation_unit, get_environment}): Take or
1816 ir: translation_unit::is_empty should work without environment.
1817 * src/abg-ir.cc (translation_unit::is_empty): If there is no
4620 * include/abg-ir.h (translation_unit::language<>LANG_PLI): Rename
4624 (get_default_array_lower_bound): Rename translation_unit::LANG_PL1
4625 into translation_unit::LANG_PLI.
4627 translation_unit::LANG_PL1 into case translation_unit::LANG_PLI.
4629 translation_unit::LANG_PL1 into translation_unit::LANG_PLI.
5482 (translation_unit): Likewise.
9875 translation_unit overload, don't emit final new line as this
15242 enumerator in the translation_unit::language enum.
15246 translation_unit::LANG_C_plus_plus_03 enumerator.
15248 translation_unit::LANG_C_plus_plus_03 enumerator.
15260 enum to "enum translation_unit::language".
15265 translation_unit::LANG_C_plus_plus_03 enumerator.
18347 * include/abg-ir.h (translation_unit::{get_compilation_dir_path,
18350 translation_unit::get_absolute_path() as the key for the tu path
18354 translation_unit::get_absolute_path().
18357 * src/abg-ir-priv.h (translation_unit::priv::{comp_dir_path_,
18359 * src/abg-ir.cc (translation_unit::set_path): Update comment.
18360 (translation_unit::{get_compilation_dir_path,
18649 (translation_unit::bind_function_type_life_time): Adjust.
18826 (translation_unit::bind_function_type_life_time): Adjust.
19502 (translation_unit::get_global_scope): Return a reference to
19504 * src/abg-ir.cc (translation_unit::get_global_scope): Return a
20151 (write_{translation_unit,corpus_to_{archive,native_xml_file}}):
20804 * src/abg-ir-priv.h (struct translation_unit::priv): Move this
20808 (translation_unit::get_function_types): Remove.
20809 (translation_unit::get_types): Now return a type_maps.
20810 (translation_unit::get_live_fn_types): Declare new type.
20812 * src/abg-ir.cc (struct translation_unit::priv): Move this to
20817 (translation_unit::bind_function_type_life_time): Adjust.
20818 (translation_unit::get_function_types): Remove accessor.
20819 (translation_unit::get_types, get_live_fn_types): Define new
20887 the new translation_unit::get_live_fn_types and sort them.
21501 * src/abg-ir.cc (translation_unit::bind_function_type_life_time):
22222 * include/abg-ir.h (translation_unit::set_corpus): Take a pointer
22224 (translation_unit::get_corpus): Add a non-const overload.
22227 non-corpus translation_unit.
22237 * src/abg-ir.cc (translation_unit::priv::corpus): Make this a
22239 (translation_unit::set_corpus): Take a pointer to non-const
22241 (translation_unit::get_corpus): Add a non-const overload.
22242 (translation_unit::get_global_scope): Adjust.
22243 (translation_unit::bind_function_type_life_time): Adjust.
22244 (type_or_decl_base::translation_unit): Make this a pointer to
22245 non-const translation_unit.
22248 non-corpus translation_unit.
24803 (translation_unit::priv::env_): Make this be a pointer to const
24805 (translation_unit::priv::priv): Take a pointer to const
24810 (translation_unit::{g,s}et_environment): Adjust.
24893 (translation_unit::translation_unit, elf_symbol::elf_symbol)
24957 * include/abg-ir.h ({translation_unit, elf_symbol::version,
24973 * src/abg-ir.cc ({translation_unit, elf_symbol::version,
25893 (translation_unit::get_global_scope()): Adjust.
25894 (translation_unit::bind_function_type_life_time): Likewise.
26748 (translation_unit::{get,set}_types): Declare new member functions.
26749 * src/abg-ir.cc (translation_unit::priv::types_): New data member.
26750 (translation_unit::{get,set}_types): Define these member
27076 (translation_unit::{g,s}et_corpus): Declare new member functions.
27078 * src/abg-ir.cc (translation_unit::priv::corpus): New data member.
27079 (translation_unit::priv::priv): Initialize it.
27080 (translation_unit::{g,s}et_corpus): Define new accessors.
27081 (translation_unit::get_global_scope): Propagate the corpus of the
27083 (translation_unit::bind_function_type_life_time): Propagate the
27084 corpus of the translation_unit to the added function type.
27244 * include/abg-ir.h (translation_unit::get_function_types): Declare new
27264 * src/abg-ir.cc (translation_unit::get_function_types): New method
27693 (translation_unit::translation_unit): Take an environment in
27695 (translation_unit::{g,s}et_environment): Declare new member
27721 (translation_unit::priv::usage_watchdog_): Remove data member.
27722 (translation_unit::priv::env_): New data member.
27723 (translation_unit::priv::priv): Take an environment and initialize
27726 (translation_unit::translation_unit): Take an environment
27728 (translation_unit::get_global_scope): Set the environment of a new
27730 (translation_unit::{g,s}et_environment): New accessors.
27731 (translation_unit::bind_function_type_life_time): Set the
29110 translation_unit parameter non-const because the function needs to
29113 abigail::ir::translation_unit.
29115 * src/abg-ir.cc (translation_unit::priv::synthesized_types_): New
29119 translation_unit parameter non-const. If the return is void, then
29218 * include/abg-ir.h (translation_unit::language): New enum type.
29219 (translation_unit::{get_language, set_language}): Declare new
29224 * src/abg-ir.cc (translation_unit::priv::language_): New data
29226 (translation_unit::priv::language_): Initialize it.
29227 (translation_unit::{set_language, get_language}): Define new
29792 (translation_unit::priv::usage_watchdog_): Add new data member.
29793 (translation_unit::priv::priv): Get a reference on the usage
29795 (translation_unit::priv::~priv): If the usage watchdog says that
29808 reference on the resulting translation_unit pointer. That is
31190 (translation_unit::lookup_function_type_in_translation_unit):
31593 (translation_unit::get_canonical_function_type): Remove member function.
31594 (translation_unit::bind_function_type_life_time): Declare new
31598 (translation_unit::priv::canonical_function_types_): Remove data
31600 (translation_unit::priv::function_types): New data member.
31601 (translation_unit::get_canonical_function_type): Remove this
31603 (translation_unit::bind_function_type_life_time): New function
32211 * include/abg-ir.h (translation_unit::{is_constructed,
32253 (translation_unit::priv::is_constructed_): New data member.
32254 (translation_unit::priv::priv): Initialize it.
32255 (translation_unit::{is_constructed, set_is_constructed}): Define
35863 (translation_unit::get_canonical_function_type): Declare new
35887 (translation_unit::priv::canonical_types_): Remove this unused
35889 (translation_unit::priv::canonical_function_types_): New member.
35890 (translation_unit::get_canonical_function_type): Define this
37664 (dump(const translation_unit&, std::ostream&)): Likewise.
40404 * src/abg-ir.h (translation_unit::canonicalize_type): Remove.
40410 * src/abg-ir.cc (translation_unit::canonicalize_type): Remove.
40597 * include/abg-ir.h (translation_unit::operator==): New member
40617 * src/abg-ir.cc (translation_unit::operator==): Define new member
40789 * include/abg-ir.h (translation_unit::{mark_type_as_used,
40791 * src/abg-ir.cc (translation_unit::priv::used_types_): Remove.
40793 (translation_unit::{mark_type_as_used, prune_unused_types):
40830 (translation_unit::mark_type_as_used): When marking a composite
40836 * include/abg-ir.h ({translation_unit, decl_base, scope_decl,
40859 convenience typedef before the translation_unit declaration.
40860 (translation_unit::{mark_type_as_used, prune_unused_types}):
40893 * src/abg-ir.cc (translation_unit::priv::used_types_): New map for
40895 (translation_unit::{mark_type_as_used, prune_unused_types}):
41071 * include/abg-ir.h (translation_unit::translation_unit): Take an
41073 (translation_unit::{get_address_size, set_address_size}): New
41075 * src/abg-ir.cc (translation_unit::priv::address_size_): New
41077 (translation_unit::translation_unit): Take an address_size
41079 (translation_unit::{get_address_size, set_address_size}): Define
41113 * include/abg-ir.h (class translation_unit): Use a pimpl idiom for
41115 (translation_unit::canonicalize_type): Declare new method.
41116 * src/abg-ir.cc (struct translation_unit::priv): New private type
41117 for the pimpl idiom for translation_unit.
41118 (translation_unit::{translation_unit, get_global_scope, get_path,
41120 (translation_unit::canonicalize_type): Define this new method and
41136 (translation_unit::{is_empty, traverse, ~translation_unit): Remove
41156 (translation_unit::read): Remove this.
41166 (translation_unit::write): Remove.
41168 * include/abg-ir.h (translation_unit::{read, write}): Remove these
41936 (compute_diff): Change the overload for translation_unit to take a
41958 Add debugging routines for decl_base_sptr and translation_unit
41960 decl_base_sptr, one for translation_unit&.
41968 translation_unit&.
41970 translation_unit&.
42304 Define translation_unit{_sptr,s} types in abigail::
42325 Add error message to translation_unit::write
42326 * src/abg-writer.cc (translation_unit::write): Add an error
42370 * src/abg-reader.cc (translation_unit::read): New overload.
42373 (abigail::translation_unit::write): New overload. This can now
42389 documentation comment. (translation_unit::translation_unit)
42390 (translation_uni::get_global_scope, translation_unit::get_path)
42391 (translation_unit::traverse, translation_unit::get_loc_mgr)
42392 (translation_unit::is_empty, translation_unit::traverse): Add
42395 * src/abg-reader.cc (translation_unit::read): Likewise.
42436 translation_unit in the ir section. Remove stuff that was
42441 Move location, location_manager & translation_unit back into abg-ir.h
42443 translation_unit from here ...
42561 * include/abg-ir.h (location, location_manager, translation_unit):
42622 * include/abg-ir.h (translation_unit::read): New member function.
42623 (translation_unit::write): Same.
42624 * src/abg-reader.cc (translation_unit::read): Define.
42625 * src/abg-writer.cc (translation_unit::write): Define.
42686 Add virtual dtor to translation_unit.
42687 * include/abg-ir.h (translation_unit): Add virtual dtor.
42728 (translation_unit, scope_decl, type_decl, qualified_type_def)
42734 * src/abg-ir.cc ({translation_unit, scope_decl, type_decl,
43289 Add translation_unit::get_path
43290 * src/abg-ir.cc (translation_unit::get_path): New declaration.
43291 * src/abg-ir.cc (translation_unit::get_path): New definition.
43298 * src/abg-ir.cc (translation_unit::get_global_scope): Initialize
43878 Introduce/use translation_unit & global_scope types
43887 (class translation_unit, class global_scope): New declarations
43888 * src/abg-ir.cc (translation_unit::translation_unit)
43889 (translation_unit::get_global_scope)
43890 (translation_unit::get_loc_mgr, translation_unit::get_loc_mgr)
43891 (translation_unit::is_empty, get_global_scope)
43899 Rather, use translation_unit.
43913 * src/abg-writer.h (write_to_ostream): Use translation_unit in
43921 using abi_corpus. Use the translation_unit that is accessible
43924 instance of translation_unit, not an abi_corpus anymore, and
43925 serialize that translation_unit.