mirror of
git://sourceware.org/git/libabigail.git
synced 2025-03-05 14:18:11 +00:00
Misc style fixes
* include/abg-ir.h (location_manager::_Impl): Rename this type into priv. * src/abg-ir.cc b/src/abg-ir.cc (location_manager::_Impl): Likewise. (location_manager::location_manager): Update for the renaming above. * src/abg-reader.cc (build_type_decl): Remove useless white space. (build_enum_type_decl, build_class_decl): Use the _sptr typedef in the return type. Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
parent
cca996aa48
commit
31b6660832
@ -73,10 +73,10 @@ public:
|
||||
/// given translation unit.
|
||||
class location_manager
|
||||
{
|
||||
struct _Impl;
|
||||
struct priv;
|
||||
|
||||
/// Pimpl.
|
||||
shared_ptr<_Impl> priv_;
|
||||
shared_ptr<priv> priv_;
|
||||
|
||||
public:
|
||||
|
||||
|
@ -86,17 +86,17 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
struct location_manager::_Impl
|
||||
struct location_manager::priv
|
||||
{
|
||||
/// This sorted vector contains the expanded locations of the tokens
|
||||
/// coming from a given ABI Corpus. The index of a given expanded
|
||||
/// location in the table gives us an integer that is used to build
|
||||
/// instance of location types.
|
||||
std::vector<expanded_location> locs;
|
||||
std::vector<expanded_location> locs;
|
||||
};
|
||||
|
||||
location_manager::location_manager()
|
||||
{priv_ = shared_ptr<location_manager::_Impl>(new location_manager::_Impl);}
|
||||
{priv_ = shared_ptr<location_manager::priv>(new location_manager::priv);}
|
||||
|
||||
/// Insert the triplet representing a source locus into our internal
|
||||
/// vector of location triplet. Return an instance of location type,
|
||||
|
@ -422,9 +422,9 @@ static shared_ptr<var_decl>
|
||||
build_var_decl(read_context&, const xmlNodePtr, bool);
|
||||
|
||||
static shared_ptr<type_decl>
|
||||
build_type_decl(read_context&, const xmlNodePtr, bool);
|
||||
build_type_decl(read_context&, const xmlNodePtr, bool);
|
||||
|
||||
static shared_ptr<qualified_type_def>
|
||||
static qualified_type_def_sptr
|
||||
build_qualified_type_decl(read_context&, const xmlNodePtr, bool);
|
||||
|
||||
static shared_ptr<pointer_type_def>
|
||||
@ -433,13 +433,13 @@ build_pointer_type_def(read_context&, const xmlNodePtr, bool);
|
||||
static shared_ptr<reference_type_def>
|
||||
build_reference_type_def(read_context&, const xmlNodePtr, bool);
|
||||
|
||||
static shared_ptr<enum_type_decl>
|
||||
static enum_type_decl_sptr
|
||||
build_enum_type_decl(read_context&, const xmlNodePtr, bool);
|
||||
|
||||
static shared_ptr<typedef_decl>
|
||||
build_typedef_decl(read_context&, const xmlNodePtr, bool);
|
||||
|
||||
static shared_ptr<class_decl>
|
||||
static class_decl_sptr
|
||||
build_class_decl(read_context&, const xmlNodePtr, bool);
|
||||
|
||||
static shared_ptr<function_tdecl>
|
||||
|
Loading…
Reference in New Issue
Block a user