aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories
diff options
context:
space:
mode:
authorAvatar Marvin Schmidt <marv@exherbo.org> 2019-02-21 18:14:13 +0100
committerAvatar Heiko Becker <heirecka@exherbo.org> 2020-10-16 17:59:26 +0000
commit6e995e8d5f0e763b6dd6adef7b014eaf54121334 (patch)
tree9d5dd7bc7ce267d4449cfd08d850ec33caf8be67 /paludis/repositories
parent3e45be57eef80ab27eba09e0249c70c2ee931573 (diff)
downloadpaludis-6e995e8d5f0e763b6dd6adef7b014eaf54121334.tar.gz
paludis-6e995e8d5f0e763b6dd6adef7b014eaf54121334.tar.xz
modernize: Mark overriding functions as such
Done using clang-tidy's `modernize-use-override` check
Diffstat (limited to 'paludis/repositories')
-rw-r--r--paludis/repositories/accounts/accounts_dep_key.hh20
-rw-r--r--paludis/repositories/accounts/accounts_id.hh62
-rw-r--r--paludis/repositories/accounts/accounts_installed_mask.hh6
-rw-r--r--paludis/repositories/accounts/accounts_repository.hh64
-rw-r--r--paludis/repositories/accounts/dummy_accounts_handler.hh2
-rw-r--r--paludis/repositories/accounts/installed_accounts_id.hh62
-rw-r--r--paludis/repositories/accounts/passwd_accounts_handler.hh2
-rw-r--r--paludis/repositories/e/e_choices_key.hh10
-rw-r--r--paludis/repositories/e/e_installed_repository.hh36
-rw-r--r--paludis/repositories/e/e_installed_repository_id.hh114
-rw-r--r--paludis/repositories/e/e_key.hh130
-rw-r--r--paludis/repositories/e/e_mask.hh20
-rw-r--r--paludis/repositories/e/e_repository.hh78
-rw-r--r--paludis/repositories/e/e_stripper.hh16
-rw-r--r--paludis/repositories/e/ebuild.hh74
-rw-r--r--paludis/repositories/e/ebuild_id.hh112
-rw-r--r--paludis/repositories/e/exheres_layout.hh106
-rw-r--r--paludis/repositories/e/exheres_profile.hh64
-rw-r--r--paludis/repositories/e/exndbam_id.hh8
-rw-r--r--paludis/repositories/e/exndbam_repository.hh48
-rw-r--r--paludis/repositories/e/info_metadata_key.hh24
-rw-r--r--paludis/repositories/e/pbin_merger.hh20
-rw-r--r--paludis/repositories/e/traditional_layout.hh110
-rw-r--r--paludis/repositories/e/traditional_profile.hh64
-rw-r--r--paludis/repositories/e/vdb_id.hh8
-rw-r--r--paludis/repositories/e/vdb_merger.hh34
-rw-r--r--paludis/repositories/e/vdb_repository.hh50
-rw-r--r--paludis/repositories/e/vdb_unmerger.hh16
-rw-r--r--paludis/repositories/fake/fake_installed_repository.hh30
-rw-r--r--paludis/repositories/fake/fake_package_id.hh160
-rw-r--r--paludis/repositories/fake/fake_repository.hh20
-rw-r--r--paludis/repositories/fake/fake_repository_base.hh32
-rw-r--r--paludis/repositories/repository/repository_id.hh56
-rw-r--r--paludis/repositories/repository/repository_repository.hh58
-rw-r--r--paludis/repositories/unavailable/unavailable_mask.hh18
-rw-r--r--paludis/repositories/unavailable/unavailable_package_id.hh56
-rw-r--r--paludis/repositories/unavailable/unavailable_repository.hh48
-rw-r--r--paludis/repositories/unavailable/unavailable_repository_dependencies_key.hh18
-rw-r--r--paludis/repositories/unavailable/unavailable_repository_id.hh56
-rw-r--r--paludis/repositories/unpackaged/installed_id.hh60
-rw-r--r--paludis/repositories/unpackaged/installed_repository.hh66
-rw-r--r--paludis/repositories/unpackaged/unpackaged_id.hh60
-rw-r--r--paludis/repositories/unpackaged/unpackaged_key.hh28
-rw-r--r--paludis/repositories/unpackaged/unpackaged_repository.hh56
-rw-r--r--paludis/repositories/unpackaged/unpackaged_stripper.hh16
-rw-r--r--paludis/repositories/unwritten/unwritten_id.hh56
-rw-r--r--paludis/repositories/unwritten/unwritten_mask.hh12
-rw-r--r--paludis/repositories/unwritten/unwritten_repository.hh48
48 files changed, 1157 insertions, 1157 deletions
diff --git a/paludis/repositories/accounts/accounts_dep_key.hh b/paludis/repositories/accounts/accounts_dep_key.hh
index 49721cab2..e7702d1e4 100644
--- a/paludis/repositories/accounts/accounts_dep_key.hh
+++ b/paludis/repositories/accounts/accounts_dep_key.hh
@@ -36,21 +36,21 @@ namespace paludis
public:
AccountsDepKey(const Environment * const e,
const std::shared_ptr<const Set<std::string> > &);
- ~AccountsDepKey();
+ ~AccountsDepKey() override;
- virtual const std::string raw_name() const PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::string human_name() const PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual MetadataKeyType type() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::string raw_name() const override PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::string human_name() const override PALUDIS_ATTRIBUTE((warn_unused_result));
+ MetadataKeyType type() const override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::shared_ptr<const DependencySpecTree> parse_value() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::shared_ptr<const DependencySpecTree> parse_value() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::shared_ptr<const DependenciesLabelSequence> initial_labels() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::shared_ptr<const DependenciesLabelSequence> initial_labels() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::string pretty_print_value(
+ const std::string pretty_print_value(
const PrettyPrinter &,
- const PrettyPrintOptions &) const PALUDIS_ATTRIBUTE((warn_unused_result));
+ const PrettyPrintOptions &) const override PALUDIS_ATTRIBUTE((warn_unused_result));
};
}
}
diff --git a/paludis/repositories/accounts/accounts_id.hh b/paludis/repositories/accounts/accounts_id.hh
index 4d4c1e05b..62aed57b8 100644
--- a/paludis/repositories/accounts/accounts_id.hh
+++ b/paludis/repositories/accounts/accounts_id.hh
@@ -40,60 +40,60 @@ namespace paludis
void _need_file_keys() const;
protected:
- virtual void clear_metadata_keys() const;
- virtual void need_keys_added() const;
- virtual void need_masks_added() const;
+ void clear_metadata_keys() const override;
+ void need_keys_added() const override;
+ void need_masks_added() const override;
public:
AccountsID(const Environment * const,
const QualifiedPackageName &, const RepositoryName &,
const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > &,
const FSPath &, const bool is_user, const bool masked);
- ~AccountsID();
+ ~AccountsID() override;
- virtual const std::string canonical_form(const PackageIDCanonicalForm) const;
+ const std::string canonical_form(const PackageIDCanonicalForm) const override;
- virtual const QualifiedPackageName name() const;
- virtual const VersionSpec version() const;
- virtual const RepositoryName repository_name() const;
- virtual PackageDepSpec uniquely_identifying_spec() const;
+ const QualifiedPackageName name() const override;
+ const VersionSpec version() const override;
+ const RepositoryName repository_name() const override;
+ PackageDepSpec uniquely_identifying_spec() const override;
///\name Specific metadata keys
///\{
- virtual const std::shared_ptr<const MetadataValueKey<Slot> > slot_key() const;
- virtual const std::shared_ptr<const MetadataCollectionKey<KeywordNameSet> > keywords_key() const;
- virtual const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > build_dependencies_key() const;
- virtual const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > run_dependencies_key() const;
- virtual const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > post_dependencies_key() const;
- virtual const std::shared_ptr<const MetadataSpecTreeKey<FetchableURISpecTree> > fetches_key() const;
- virtual const std::shared_ptr<const MetadataSpecTreeKey<SimpleURISpecTree> > homepage_key() const;
- virtual const std::shared_ptr<const MetadataValueKey<std::string> > short_description_key() const;
- virtual const std::shared_ptr<const MetadataValueKey<std::string> > long_description_key() const;
- virtual const std::shared_ptr<const MetadataTimeKey> installed_time_key() const;
- virtual const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > from_repositories_key() const;
- virtual const std::shared_ptr<const MetadataValueKey<FSPath> > fs_location_key() const;
- virtual const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > behaviours_key() const;
- virtual const std::shared_ptr<const MetadataValueKey<std::shared_ptr<const Choices> > > choices_key() const;
- virtual const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > dependencies_key() const;
+ const std::shared_ptr<const MetadataValueKey<Slot> > slot_key() const override;
+ const std::shared_ptr<const MetadataCollectionKey<KeywordNameSet> > keywords_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > build_dependencies_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > run_dependencies_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > post_dependencies_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<FetchableURISpecTree> > fetches_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<SimpleURISpecTree> > homepage_key() const override;
+ const std::shared_ptr<const MetadataValueKey<std::string> > short_description_key() const override;
+ const std::shared_ptr<const MetadataValueKey<std::string> > long_description_key() const override;
+ const std::shared_ptr<const MetadataTimeKey> installed_time_key() const override;
+ const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > from_repositories_key() const override;
+ const std::shared_ptr<const MetadataValueKey<FSPath> > fs_location_key() const override;
+ const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > behaviours_key() const override;
+ const std::shared_ptr<const MetadataValueKey<std::shared_ptr<const Choices> > > choices_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > dependencies_key() const override;
///\}
///\name Actions
///\{
- virtual bool supports_action(const SupportsActionTestBase &) const PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual void perform_action(Action &) const;
+ bool supports_action(const SupportsActionTestBase &) const override PALUDIS_ATTRIBUTE((warn_unused_result));
+ void perform_action(Action &) const override;
- virtual const std::shared_ptr<const Contents> contents() const;
+ const std::shared_ptr<const Contents> contents() const override;
///\}
- virtual bool arbitrary_less_than_comparison(const PackageID &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ bool arbitrary_less_than_comparison(const PackageID &) const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::size_t extra_hash_value() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ std::size_t extra_hash_value() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
};
}
}
diff --git a/paludis/repositories/accounts/accounts_installed_mask.hh b/paludis/repositories/accounts/accounts_installed_mask.hh
index 1aa5e8515..d5b1c81be 100644
--- a/paludis/repositories/accounts/accounts_installed_mask.hh
+++ b/paludis/repositories/accounts/accounts_installed_mask.hh
@@ -30,9 +30,9 @@ namespace paludis
public UnsupportedMask
{
public:
- virtual char key() const;
- virtual const std::string description() const;
- virtual const std::string explanation() const;
+ char key() const override;
+ const std::string description() const override;
+ const std::string explanation() const override;
};
}
}
diff --git a/paludis/repositories/accounts/accounts_repository.hh b/paludis/repositories/accounts/accounts_repository.hh
index 54b844a2e..676bb10ac 100644
--- a/paludis/repositories/accounts/accounts_repository.hh
+++ b/paludis/repositories/accounts/accounts_repository.hh
@@ -63,13 +63,13 @@ namespace paludis
void _add_metadata_keys();
protected:
- virtual void need_keys_added() const;
+ void need_keys_added() const override;
public:
AccountsRepository(const AccountsRepositoryParams &);
AccountsRepository(const InstalledAccountsRepositoryParams &);
- ~AccountsRepository();
+ ~AccountsRepository() override;
///\name RepositoryFactory functions
///\{
@@ -108,65 +108,65 @@ namespace paludis
///\name Specific metadata keys
///\{
- virtual const std::shared_ptr<const MetadataValueKey<std::string> > format_key() const;
- virtual const std::shared_ptr<const MetadataValueKey<FSPath> > location_key() const;
- virtual const std::shared_ptr<const MetadataValueKey<FSPath> > installed_root_key() const;
- virtual const std::shared_ptr<const MetadataCollectionKey<Map<std::string, std::string> > > sync_host_key() const;
+ const std::shared_ptr<const MetadataValueKey<std::string> > format_key() const override;
+ const std::shared_ptr<const MetadataValueKey<FSPath> > location_key() const override;
+ const std::shared_ptr<const MetadataValueKey<FSPath> > installed_root_key() const override;
+ const std::shared_ptr<const MetadataCollectionKey<Map<std::string, std::string> > > sync_host_key() const override;
///\}
///\name Repository content queries
///\{
- virtual const bool is_unimportant() const;
- virtual bool has_category_named(const CategoryNamePart & c, const RepositoryContentMayExcludes &) const;
- virtual bool has_package_named(const QualifiedPackageName & q, const RepositoryContentMayExcludes &) const;
- virtual std::shared_ptr<const CategoryNamePartSet> category_names(const RepositoryContentMayExcludes &) const;
- virtual std::shared_ptr<const CategoryNamePartSet> unimportant_category_names(const RepositoryContentMayExcludes &) const;
- virtual std::shared_ptr<const CategoryNamePartSet> category_names_containing_package(
- const PackageNamePart & p, const RepositoryContentMayExcludes &) const;
- virtual std::shared_ptr<const QualifiedPackageNameSet> package_names(
- const CategoryNamePart & c, const RepositoryContentMayExcludes &) const;
- virtual std::shared_ptr<const PackageIDSequence> package_ids(const QualifiedPackageName & p, const RepositoryContentMayExcludes &) const;
- virtual bool some_ids_might_support_action(const SupportsActionTestBase &) const;
- virtual bool some_ids_might_not_be_masked() const;
- virtual const std::shared_ptr<const Set<std::string> > maybe_expand_licence_nonrecursively(
- const std::string &) const;
+ const bool is_unimportant() const override;
+ bool has_category_named(const CategoryNamePart & c, const RepositoryContentMayExcludes &) const override;
+ bool has_package_named(const QualifiedPackageName & q, const RepositoryContentMayExcludes &) const override;
+ std::shared_ptr<const CategoryNamePartSet> category_names(const RepositoryContentMayExcludes &) const override;
+ std::shared_ptr<const CategoryNamePartSet> unimportant_category_names(const RepositoryContentMayExcludes &) const override;
+ std::shared_ptr<const CategoryNamePartSet> category_names_containing_package(
+ const PackageNamePart & p, const RepositoryContentMayExcludes &) const override;
+ std::shared_ptr<const QualifiedPackageNameSet> package_names(
+ const CategoryNamePart & c, const RepositoryContentMayExcludes &) const override;
+ std::shared_ptr<const PackageIDSequence> package_ids(const QualifiedPackageName & p, const RepositoryContentMayExcludes &) const override;
+ bool some_ids_might_support_action(const SupportsActionTestBase &) const override;
+ bool some_ids_might_not_be_masked() const override;
+ const std::shared_ptr<const Set<std::string> > maybe_expand_licence_nonrecursively(
+ const std::string &) const override;
///\}
///\name Repository behaviour methods
///\{
- virtual void invalidate();
- virtual void regenerate_cache() const;
+ void invalidate() override;
+ void regenerate_cache() const override;
- virtual HookResult perform_hook(
+ HookResult perform_hook(
const Hook & hook,
- const std::shared_ptr<OutputManager> &);
+ const std::shared_ptr<OutputManager> &) override;
- virtual bool sync(
+ bool sync(
const std::string &,
const std::string &,
- const std::shared_ptr<OutputManager> &) const;
+ const std::shared_ptr<OutputManager> &) const override;
///\}
///\name Destination functions
///\{
- virtual bool is_suitable_destination_for(const std::shared_ptr<const PackageID> &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual bool want_pre_post_phases() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual void merge(const MergeParams &);
+ bool is_suitable_destination_for(const std::shared_ptr<const PackageID> &) const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
+ bool want_pre_post_phases() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
+ void merge(const MergeParams &) override;
///\}
///\name Set methods
///\{
- virtual void populate_sets() const;
+ void populate_sets() const override;
///\}
};
diff --git a/paludis/repositories/accounts/dummy_accounts_handler.hh b/paludis/repositories/accounts/dummy_accounts_handler.hh
index 2d450c712..1ea83fc8a 100644
--- a/paludis/repositories/accounts/dummy_accounts_handler.hh
+++ b/paludis/repositories/accounts/dummy_accounts_handler.hh
@@ -30,7 +30,7 @@ namespace paludis
public AccountsHandler
{
public:
- virtual void merge(const MergeParams &);
+ void merge(const MergeParams &) override;
};
}
}
diff --git a/paludis/repositories/accounts/installed_accounts_id.hh b/paludis/repositories/accounts/installed_accounts_id.hh
index dc6a2439a..e9a41eabf 100644
--- a/paludis/repositories/accounts/installed_accounts_id.hh
+++ b/paludis/repositories/accounts/installed_accounts_id.hh
@@ -39,59 +39,59 @@ namespace paludis
void _add_metadata_keys() const;
protected:
- virtual void clear_metadata_keys() const;
- virtual void need_keys_added() const;
- virtual void need_masks_added() const;
+ void clear_metadata_keys() const override;
+ void need_keys_added() const override;
+ void need_masks_added() const override;
public:
InstalledAccountsID(const Environment * const,
const QualifiedPackageName &, const RepositoryName &,
const bool is_user);
- ~InstalledAccountsID();
+ ~InstalledAccountsID() override;
- virtual const std::string canonical_form(const PackageIDCanonicalForm) const;
+ const std::string canonical_form(const PackageIDCanonicalForm) const override;
- virtual const QualifiedPackageName name() const;
- virtual const VersionSpec version() const;
- virtual const RepositoryName repository_name() const;
- virtual PackageDepSpec uniquely_identifying_spec() const;
+ const QualifiedPackageName name() const override;
+ const VersionSpec version() const override;
+ const RepositoryName repository_name() const override;
+ PackageDepSpec uniquely_identifying_spec() const override;
///\name Specific metadata keys
///\{
- virtual const std::shared_ptr<const MetadataValueKey<Slot> > slot_key() const;
- virtual const std::shared_ptr<const MetadataCollectionKey<KeywordNameSet> > keywords_key() const;
- virtual const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > build_dependencies_key() const;
- virtual const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > run_dependencies_key() const;
- virtual const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > post_dependencies_key() const;
- virtual const std::shared_ptr<const MetadataSpecTreeKey<FetchableURISpecTree> > fetches_key() const;
- virtual const std::shared_ptr<const MetadataSpecTreeKey<SimpleURISpecTree> > homepage_key() const;
- virtual const std::shared_ptr<const MetadataValueKey<std::string> > short_description_key() const;
- virtual const std::shared_ptr<const MetadataValueKey<std::string> > long_description_key() const;
- virtual const std::shared_ptr<const MetadataTimeKey> installed_time_key() const;
- virtual const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > from_repositories_key() const;
- virtual const std::shared_ptr<const MetadataValueKey<FSPath> > fs_location_key() const;
- virtual const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > behaviours_key() const;
- virtual const std::shared_ptr<const MetadataValueKey<std::shared_ptr<const Choices> > > choices_key() const;
- virtual const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > dependencies_key() const;
+ const std::shared_ptr<const MetadataValueKey<Slot> > slot_key() const override;
+ const std::shared_ptr<const MetadataCollectionKey<KeywordNameSet> > keywords_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > build_dependencies_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > run_dependencies_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > post_dependencies_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<FetchableURISpecTree> > fetches_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<SimpleURISpecTree> > homepage_key() const override;
+ const std::shared_ptr<const MetadataValueKey<std::string> > short_description_key() const override;
+ const std::shared_ptr<const MetadataValueKey<std::string> > long_description_key() const override;
+ const std::shared_ptr<const MetadataTimeKey> installed_time_key() const override;
+ const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > from_repositories_key() const override;
+ const std::shared_ptr<const MetadataValueKey<FSPath> > fs_location_key() const override;
+ const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > behaviours_key() const override;
+ const std::shared_ptr<const MetadataValueKey<std::shared_ptr<const Choices> > > choices_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > dependencies_key() const override;
///\}
///\name Actions
///\{
- virtual bool supports_action(const SupportsActionTestBase &) const PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual void perform_action(Action &) const PALUDIS_ATTRIBUTE((noreturn));
+ bool supports_action(const SupportsActionTestBase &) const override PALUDIS_ATTRIBUTE((warn_unused_result));
+ void perform_action(Action &) const override PALUDIS_ATTRIBUTE((noreturn));
- virtual const std::shared_ptr<const Contents> contents() const;
+ const std::shared_ptr<const Contents> contents() const override;
///\}
- virtual bool arbitrary_less_than_comparison(const PackageID &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ bool arbitrary_less_than_comparison(const PackageID &) const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::size_t extra_hash_value() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ std::size_t extra_hash_value() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
};
}
}
diff --git a/paludis/repositories/accounts/passwd_accounts_handler.hh b/paludis/repositories/accounts/passwd_accounts_handler.hh
index 7da0cf907..f25c4253b 100644
--- a/paludis/repositories/accounts/passwd_accounts_handler.hh
+++ b/paludis/repositories/accounts/passwd_accounts_handler.hh
@@ -30,7 +30,7 @@ namespace paludis
public AccountsHandler
{
public:
- virtual void merge(const MergeParams &);
+ void merge(const MergeParams &) override;
void merge_user(const MergeParams &);
void merge_group(const MergeParams &);
diff --git a/paludis/repositories/e/e_choices_key.hh b/paludis/repositories/e/e_choices_key.hh
index 92de6c07c..5ea9868de 100644
--- a/paludis/repositories/e/e_choices_key.hh
+++ b/paludis/repositories/e/e_choices_key.hh
@@ -53,13 +53,13 @@ namespace paludis
const std::shared_ptr<const ERepository> & maybe_profile,
const std::function<std::shared_ptr<const Map<ChoiceNameWithPrefix, std::string> > ()> & maybe_descriptions_fn);
- ~EChoicesKey();
+ ~EChoicesKey() override;
- const std::shared_ptr<const Choices> parse_value() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::shared_ptr<const Choices> parse_value() const override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::string raw_name() const PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::string human_name() const PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual MetadataKeyType type() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::string raw_name() const override PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::string human_name() const override PALUDIS_ATTRIBUTE((warn_unused_result));
+ MetadataKeyType type() const override PALUDIS_ATTRIBUTE((warn_unused_result));
};
}
}
diff --git a/paludis/repositories/e/e_installed_repository.hh b/paludis/repositories/e/e_installed_repository.hh
index 977407c38..e85d238cd 100644
--- a/paludis/repositories/e/e_installed_repository.hh
+++ b/paludis/repositories/e/e_installed_repository.hh
@@ -51,7 +51,7 @@ namespace paludis
protected:
EInstalledRepository(const EInstalledRepositoryParams &, const RepositoryName &, const RepositoryCapabilities &);
- ~EInstalledRepository();
+ ~EInstalledRepository() override;
std::string snoop_variable_from_environment_file(
const FSPath &,
@@ -61,42 +61,42 @@ namespace paludis
public:
/* RepositoryEnvironmentVariableInterface */
- virtual std::string get_environment_variable(
+ std::string get_environment_variable(
const std::shared_ptr<const PackageID> & for_package,
const std::string & var) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
/* RepositoryDestinationInterface */
- virtual bool is_suitable_destination_for(const std::shared_ptr<const PackageID> &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ bool is_suitable_destination_for(const std::shared_ptr<const PackageID> &) const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual bool want_pre_post_phases() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ bool want_pre_post_phases() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
/* Repository */
- virtual std::shared_ptr<const CategoryNamePartSet> unimportant_category_names(
- const RepositoryContentMayExcludes &) const;
+ std::shared_ptr<const CategoryNamePartSet> unimportant_category_names(
+ const RepositoryContentMayExcludes &) const override;
- virtual const bool is_unimportant() const;
+ const bool is_unimportant() const override;
- virtual bool some_ids_might_support_action(const SupportsActionTestBase &) const;
+ bool some_ids_might_support_action(const SupportsActionTestBase &) const override;
- virtual bool some_ids_might_not_be_masked() const;
+ bool some_ids_might_not_be_masked() const override;
HookResult perform_hook(
const Hook & hook,
const std::shared_ptr<OutputManager> &)
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual bool sync(
+ bool sync(
const std::string &,
const std::string &,
- const std::shared_ptr<OutputManager> &) const;
+ const std::shared_ptr<OutputManager> &) const override;
- virtual const std::shared_ptr<const Set<std::string> > maybe_expand_licence_nonrecursively(
- const std::string &) const;
+ const std::shared_ptr<const Set<std::string> > maybe_expand_licence_nonrecursively(
+ const std::string &) const override;
///\name For use by EInstalledRepositoryID
///\{
@@ -118,7 +118,7 @@ namespace paludis
///\name Set methods
///\{
- virtual void populate_sets() const;
+ void populate_sets() const override;
///\}
diff --git a/paludis/repositories/e/e_installed_repository_id.hh b/paludis/repositories/e/e_installed_repository_id.hh
index d6a76d4ab..1a0946e6d 100644
--- a/paludis/repositories/e/e_installed_repository_id.hh
+++ b/paludis/repositories/e/e_installed_repository_id.hh
@@ -37,8 +37,8 @@ namespace paludis
Pimp<EInstalledRepositoryID> _imp;
protected:
- virtual void need_keys_added() const;
- virtual void need_masks_added() const;
+ void need_keys_added() const override;
+ void need_masks_added() const override;
EInstalledRepositoryID(const QualifiedPackageName &, const VersionSpec &,
const Environment * const,
@@ -46,70 +46,70 @@ namespace paludis
const FSPath & file);
public:
- ~EInstalledRepositoryID();
-
- virtual const std::string canonical_form(const PackageIDCanonicalForm) const;
- virtual PackageDepSpec uniquely_identifying_spec() const;
-
- virtual const QualifiedPackageName name() const;
- virtual const VersionSpec version() const;
- virtual const RepositoryName repository_name() const;
- virtual const std::shared_ptr<const EAPI> eapi() const;
- virtual bool is_installed() const PALUDIS_ATTRIBUTE((warn_unused_result));
-
- virtual const std::shared_ptr<const MetadataValueKey<Slot> > slot_key() const;
- virtual const std::shared_ptr<const MetadataCollectionKey<KeywordNameSet> > keywords_key() const;
- virtual const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > build_dependencies_key() const;
- virtual const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > run_dependencies_key() const;
- virtual const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > post_dependencies_key() const;
- virtual const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > dependencies_key() const;
- virtual const std::shared_ptr<const MetadataSpecTreeKey<PlainTextSpecTree> > restrict_key() const;
- virtual const std::shared_ptr<const MetadataSpecTreeKey<PlainTextSpecTree> > properties_key() const;
- virtual const std::shared_ptr<const MetadataSpecTreeKey<FetchableURISpecTree> > fetches_key() const;
- virtual const std::shared_ptr<const MetadataSpecTreeKey<SimpleURISpecTree> > homepage_key() const;
- virtual const std::shared_ptr<const MetadataValueKey<std::string> > short_description_key() const;
- virtual const std::shared_ptr<const MetadataValueKey<std::string> > long_description_key() const;
- virtual const std::shared_ptr<const MetadataTimeKey> installed_time_key() const;
- virtual const std::shared_ptr<const MetadataValueKey<FSPath> > fs_location_key() const;
- virtual const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > from_repositories_key() const;
-
- virtual const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > raw_use_key() const;
- virtual const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > raw_iuse_key() const;
- virtual const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > raw_iuse_effective_key() const;
- virtual const std::shared_ptr<const MetadataSpecTreeKey<PlainTextSpecTree> > raw_myoptions_key() const;
- virtual const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > raw_use_expand_key() const;
- virtual const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > raw_use_expand_hidden_key() const;
- virtual const std::shared_ptr<const MetadataValueKey<std::shared_ptr<const Choices> > > choices_key() const;
- virtual const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > inherited_key() const;
- virtual const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > defined_phases_key() const;
- virtual const std::shared_ptr<const MetadataSpecTreeKey<LicenseSpecTree> > license_key() const;
- virtual const std::shared_ptr<const MetadataSpecTreeKey<RequiredUseSpecTree> > required_use_key() const;
- virtual const std::shared_ptr<const MetadataValueKey<std::string> > scm_revision_key() const;
- virtual const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > behaviours_key() const;
-
- virtual bool supports_action(const SupportsActionTestBase &) const PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual void perform_action(Action &) const;
-
- virtual bool arbitrary_less_than_comparison(const PackageID &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
-
- virtual std::size_t extra_hash_value() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ ~EInstalledRepositoryID() override;
+
+ const std::string canonical_form(const PackageIDCanonicalForm) const override;
+ PackageDepSpec uniquely_identifying_spec() const override;
+
+ const QualifiedPackageName name() const override;
+ const VersionSpec version() const override;
+ const RepositoryName repository_name() const override;
+ const std::shared_ptr<const EAPI> eapi() const override;
+ bool is_installed() const override PALUDIS_ATTRIBUTE((warn_unused_result));
+
+ const std::shared_ptr<const MetadataValueKey<Slot> > slot_key() const override;
+ const std::shared_ptr<const MetadataCollectionKey<KeywordNameSet> > keywords_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > build_dependencies_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > run_dependencies_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > post_dependencies_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > dependencies_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<PlainTextSpecTree> > restrict_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<PlainTextSpecTree> > properties_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<FetchableURISpecTree> > fetches_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<SimpleURISpecTree> > homepage_key() const override;
+ const std::shared_ptr<const MetadataValueKey<std::string> > short_description_key() const override;
+ const std::shared_ptr<const MetadataValueKey<std::string> > long_description_key() const override;
+ const std::shared_ptr<const MetadataTimeKey> installed_time_key() const override;
+ const std::shared_ptr<const MetadataValueKey<FSPath> > fs_location_key() const override;
+ const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > from_repositories_key() const override;
+
+ const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > raw_use_key() const override;
+ const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > raw_iuse_key() const override;
+ const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > raw_iuse_effective_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<PlainTextSpecTree> > raw_myoptions_key() const override;
+ const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > raw_use_expand_key() const override;
+ const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > raw_use_expand_hidden_key() const override;
+ const std::shared_ptr<const MetadataValueKey<std::shared_ptr<const Choices> > > choices_key() const override;
+ const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > inherited_key() const override;
+ const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > defined_phases_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<LicenseSpecTree> > license_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<RequiredUseSpecTree> > required_use_key() const override;
+ const std::shared_ptr<const MetadataValueKey<std::string> > scm_revision_key() const override;
+ const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > behaviours_key() const override;
+
+ bool supports_action(const SupportsActionTestBase &) const override PALUDIS_ATTRIBUTE((warn_unused_result));
+ void perform_action(Action &) const override;
+
+ bool arbitrary_less_than_comparison(const PackageID &) const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
+
+ std::size_t extra_hash_value() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
virtual std::string fs_location_raw_name() const = 0;
virtual std::string fs_location_human_name() const = 0;
virtual std::string contents_filename() const = 0;
- virtual const std::shared_ptr<const ChoiceValue> make_choice_value(
+ const std::shared_ptr<const ChoiceValue> make_choice_value(
const std::shared_ptr<const Choice> &, const UnprefixedChoiceName &, const Tribool,
- const bool, const ChoiceOrigin, const std::string &, const bool, const bool) const;
+ const bool, const ChoiceOrigin, const std::string &, const bool, const bool) const override;
- virtual void add_build_options(const std::shared_ptr<Choices> &) const;
+ void add_build_options(const std::shared_ptr<Choices> &) const override;
- virtual void purge_invalid_cache() const;
- virtual void can_drop_in_memory_cache() const;
+ void purge_invalid_cache() const override;
+ void can_drop_in_memory_cache() const override;
- virtual void set_scm_revision(const std::string &) const PALUDIS_ATTRIBUTE((noreturn));
+ void set_scm_revision(const std::string &) const override PALUDIS_ATTRIBUTE((noreturn));
};
}
}
diff --git a/paludis/repositories/e/e_key.hh b/paludis/repositories/e/e_key.hh
index 3e1022fa7..43953a089 100644
--- a/paludis/repositories/e/e_key.hh
+++ b/paludis/repositories/e/e_key.hh
@@ -46,21 +46,21 @@ namespace paludis
const std::string &, const std::string &, const std::string &,
const std::shared_ptr<const DependenciesLabelSequence> &,
const MetadataKeyType);
- ~EDependenciesKey();
+ ~EDependenciesKey() override;
- virtual const std::shared_ptr<const DependencySpecTree> parse_value() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::shared_ptr<const DependencySpecTree> parse_value() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::shared_ptr<const DependenciesLabelSequence> initial_labels() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::shared_ptr<const DependenciesLabelSequence> initial_labels() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::string raw_name() const PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::string human_name() const PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual MetadataKeyType type() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::string raw_name() const override PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::string human_name() const override PALUDIS_ATTRIBUTE((warn_unused_result));
+ MetadataKeyType type() const override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::string pretty_print_value(
+ const std::string pretty_print_value(
const PrettyPrinter &,
- const PrettyPrintOptions &) const PALUDIS_ATTRIBUTE((warn_unused_result));
+ const PrettyPrintOptions &) const override PALUDIS_ATTRIBUTE((warn_unused_result));
};
class EFetchableURIKey :
@@ -75,21 +75,21 @@ namespace paludis
const std::shared_ptr<const EAPIMetadataVariable> &,
const std::string &,
const MetadataKeyType);
- ~EFetchableURIKey();
+ ~EFetchableURIKey() override;
- virtual const std::shared_ptr<const FetchableURISpecTree> parse_value() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::shared_ptr<const FetchableURISpecTree> parse_value() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::shared_ptr<const URILabel> initial_label() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::shared_ptr<const URILabel> initial_label() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::string raw_name() const PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::string human_name() const PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual MetadataKeyType type() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::string raw_name() const override PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::string human_name() const override PALUDIS_ATTRIBUTE((warn_unused_result));
+ MetadataKeyType type() const override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::string pretty_print_value(
+ const std::string pretty_print_value(
const PrettyPrinter &,
- const PrettyPrintOptions &) const PALUDIS_ATTRIBUTE((warn_unused_result));
+ const PrettyPrintOptions &) const override PALUDIS_ATTRIBUTE((warn_unused_result));
};
class ESimpleURIKey :
@@ -104,18 +104,18 @@ namespace paludis
const std::shared_ptr<const EAPI> &,
const std::string &, const MetadataKeyType,
const bool is_installed);
- ~ESimpleURIKey();
+ ~ESimpleURIKey() override;
- virtual const std::shared_ptr<const SimpleURISpecTree> parse_value() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::shared_ptr<const SimpleURISpecTree> parse_value() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::string raw_name() const PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::string human_name() const PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual MetadataKeyType type() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::string raw_name() const override PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::string human_name() const override PALUDIS_ATTRIBUTE((warn_unused_result));
+ MetadataKeyType type() const override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::string pretty_print_value(
+ const std::string pretty_print_value(
const PrettyPrinter &,
- const PrettyPrintOptions &) const PALUDIS_ATTRIBUTE((warn_unused_result));
+ const PrettyPrintOptions &) const override PALUDIS_ATTRIBUTE((warn_unused_result));
};
class EPlainTextSpecKey :
@@ -130,18 +130,18 @@ namespace paludis
const std::shared_ptr<const EAPI> &,
const std::string &, const MetadataKeyType,
bool is_installed);
- ~EPlainTextSpecKey();
+ ~EPlainTextSpecKey() override;
- virtual const std::shared_ptr<const PlainTextSpecTree> parse_value() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::shared_ptr<const PlainTextSpecTree> parse_value() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::string raw_name() const PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::string human_name() const PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual MetadataKeyType type() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::string raw_name() const override PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::string human_name() const override PALUDIS_ATTRIBUTE((warn_unused_result));
+ MetadataKeyType type() const override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::string pretty_print_value(
+ const std::string pretty_print_value(
const PrettyPrinter &,
- const PrettyPrintOptions &) const PALUDIS_ATTRIBUTE((warn_unused_result));
+ const PrettyPrintOptions &) const override PALUDIS_ATTRIBUTE((warn_unused_result));
};
class EMyOptionsKey :
@@ -156,18 +156,18 @@ namespace paludis
const std::shared_ptr<const EAPI> &,
const std::string &, const MetadataKeyType,
bool);
- ~EMyOptionsKey();
+ ~EMyOptionsKey() override;
- virtual const std::shared_ptr<const PlainTextSpecTree> parse_value() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::shared_ptr<const PlainTextSpecTree> parse_value() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::string raw_name() const PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::string human_name() const PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual MetadataKeyType type() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::string raw_name() const override PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::string human_name() const override PALUDIS_ATTRIBUTE((warn_unused_result));
+ MetadataKeyType type() const override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::string pretty_print_value(
+ const std::string pretty_print_value(
const PrettyPrinter &,
- const PrettyPrintOptions &) const PALUDIS_ATTRIBUTE((warn_unused_result));
+ const PrettyPrintOptions &) const override PALUDIS_ATTRIBUTE((warn_unused_result));
};
class ERequiredUseKey :
@@ -182,18 +182,18 @@ namespace paludis
const std::shared_ptr<const EAPI> &,
const std::string &, const MetadataKeyType,
bool i);
- ~ERequiredUseKey();
+ ~ERequiredUseKey() override;
- virtual const std::shared_ptr<const RequiredUseSpecTree> parse_value() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::shared_ptr<const RequiredUseSpecTree> parse_value() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::string raw_name() const PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::string human_name() const PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual MetadataKeyType type() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::string raw_name() const override PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::string human_name() const override PALUDIS_ATTRIBUTE((warn_unused_result));
+ MetadataKeyType type() const override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::string pretty_print_value(
+ const std::string pretty_print_value(
const PrettyPrinter &,
- const PrettyPrintOptions &) const PALUDIS_ATTRIBUTE((warn_unused_result));
+ const PrettyPrintOptions &) const override PALUDIS_ATTRIBUTE((warn_unused_result));
};
class ELicenseKey :
@@ -209,18 +209,18 @@ namespace paludis
const std::shared_ptr<const EAPI> &,
const std::string &, const MetadataKeyType,
bool is_installed);
- ~ELicenseKey();
+ ~ELicenseKey() override;
- virtual const std::shared_ptr<const LicenseSpecTree> parse_value() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::shared_ptr<const LicenseSpecTree> parse_value() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::string raw_name() const PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::string human_name() const PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual MetadataKeyType type() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::string raw_name() const override PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::string human_name() const override PALUDIS_ATTRIBUTE((warn_unused_result));
+ MetadataKeyType type() const override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::string pretty_print_value(
+ const std::string pretty_print_value(
const PrettyPrinter &,
- const PrettyPrintOptions &) const PALUDIS_ATTRIBUTE((warn_unused_result));
+ const PrettyPrintOptions &) const override PALUDIS_ATTRIBUTE((warn_unused_result));
};
class EMTimeKey :
@@ -231,14 +231,14 @@ namespace paludis
public:
EMTimeKey(const std::string &, const std::string &, const FSPath &, const MetadataKeyType);
- ~EMTimeKey();
+ ~EMTimeKey() override;
Timestamp parse_value() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::string raw_name() const PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::string human_name() const PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual MetadataKeyType type() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::string raw_name() const override PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::string human_name() const override PALUDIS_ATTRIBUTE((warn_unused_result));
+ MetadataKeyType type() const override PALUDIS_ATTRIBUTE((warn_unused_result));
};
}
}
diff --git a/paludis/repositories/e/e_mask.hh b/paludis/repositories/e/e_mask.hh
index 550ef0560..d28efbee4 100644
--- a/paludis/repositories/e/e_mask.hh
+++ b/paludis/repositories/e/e_mask.hh
@@ -35,11 +35,11 @@ namespace paludis
public:
EUnsupportedMask(const char, const std::string &, const std::string &);
- ~EUnsupportedMask();
+ ~EUnsupportedMask() override;
- virtual char key() const;
- virtual const std::string description() const;
- virtual const std::string explanation() const;
+ char key() const override;
+ const std::string description() const override;
+ const std::string explanation() const override;
};
class ERepositoryMask :
@@ -51,14 +51,14 @@ namespace paludis
public:
ERepositoryMask(const char, const std::string & description,
const std::string & comment, const std::string & token, const FSPath &);
- ~ERepositoryMask();
+ ~ERepositoryMask() override;
- virtual char key() const;
- const std::string description() const;
+ char key() const override;
+ const std::string description() const override;
- virtual const std::string comment() const;
- virtual const std::string token() const;
- virtual const FSPath mask_file() const;
+ const std::string comment() const override;
+ const std::string token() const override;
+ const FSPath mask_file() const override;
};
const std::shared_ptr<const UnacceptedMask> create_e_unaccepted_mask(
diff --git a/paludis/repositories/e/e_repository.hh b/paludis/repositories/e/e_repository.hh
index fcfe23633..85588a0cc 100644
--- a/paludis/repositories/e/e_repository.hh
+++ b/paludis/repositories/e/e_repository.hh
@@ -63,7 +63,7 @@ namespace paludis
void need_mirrors() const;
protected:
- virtual void need_keys_added() const;
+ void need_keys_added() const override;
public:
/**
@@ -74,64 +74,64 @@ namespace paludis
/**
* Destructor.
*/
- ~ERepository();
+ ~ERepository() override;
- virtual void invalidate();
+ void invalidate() override;
- virtual void purge_invalid_cache() const;
+ void purge_invalid_cache() const override;
/* RepositoryDestinationInterface */
- virtual bool is_suitable_destination_for(const std::shared_ptr<const PackageID> &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ bool is_suitable_destination_for(const std::shared_ptr<const PackageID> &) const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual bool want_pre_post_phases() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ bool want_pre_post_phases() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual void merge(const MergeParams &);
+ void merge(const MergeParams &) override;
/* RepositoryManifestInterface */
- virtual void make_manifest(const QualifiedPackageName & qpn);
+ void make_manifest(const QualifiedPackageName & qpn) override;
/* RepositorySyncableInterface */
- virtual bool sync(
+ bool sync(
const std::string &,
const std::string &,
- const std::shared_ptr<OutputManager> &) const;
+ const std::shared_ptr<OutputManager> &) const override;
/* RepositoryEnvironmentVariableInterface */
- virtual std::string get_environment_variable(
+ std::string get_environment_variable(
const std::shared_ptr<const PackageID> & for_package,
const std::string & var) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
/* Repository */
- virtual std::shared_ptr<const PackageIDSequence> package_ids(
+ std::shared_ptr<const PackageIDSequence> package_ids(
const QualifiedPackageName &, const RepositoryContentMayExcludes &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::shared_ptr<const QualifiedPackageNameSet> package_names(
+ std::shared_ptr<const QualifiedPackageNameSet> package_names(
const CategoryNamePart &, const RepositoryContentMayExcludes &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::shared_ptr<const CategoryNamePartSet> category_names(const RepositoryContentMayExcludes &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ std::shared_ptr<const CategoryNamePartSet> category_names(const RepositoryContentMayExcludes &) const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::shared_ptr<const CategoryNamePartSet> category_names_containing_package(
- const PackageNamePart &, const RepositoryContentMayExcludes &) const;
+ std::shared_ptr<const CategoryNamePartSet> category_names_containing_package(
+ const PackageNamePart &, const RepositoryContentMayExcludes &) const override;
- virtual bool has_package_named(const QualifiedPackageName &, const RepositoryContentMayExcludes &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ bool has_package_named(const QualifiedPackageName &, const RepositoryContentMayExcludes &) const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual bool has_category_named(const CategoryNamePart &, const RepositoryContentMayExcludes &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ bool has_category_named(const CategoryNamePart &, const RepositoryContentMayExcludes &) const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual bool some_ids_might_support_action(const SupportsActionTestBase &) const;
+ bool some_ids_might_support_action(const SupportsActionTestBase &) const override;
- virtual bool some_ids_might_not_be_masked() const;
+ bool some_ids_might_not_be_masked() const override;
const erepository::ERepositoryParams & params() const;
@@ -139,13 +139,13 @@ namespace paludis
std::string environment_updated_profile_variable(const std::string &) const;
HookResult perform_hook(const Hook &, const std::shared_ptr<OutputManager> &)
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::shared_ptr<const CategoryNamePartSet> unimportant_category_names(const RepositoryContentMayExcludes &) const;
- virtual const bool is_unimportant() const;
+ std::shared_ptr<const CategoryNamePartSet> unimportant_category_names(const RepositoryContentMayExcludes &) const override;
+ const bool is_unimportant() const override;
- virtual const std::shared_ptr<const Set<std::string> > maybe_expand_licence_nonrecursively(
- const std::string &) const;
+ const std::shared_ptr<const Set<std::string> > maybe_expand_licence_nonrecursively(
+ const std::string &) const override;
/**
* Update GLEP 42 news files.
@@ -155,15 +155,15 @@ namespace paludis
const std::shared_ptr<const erepository::Layout> layout() const;
const std::shared_ptr<const erepository::Profile> profile() const;
- void regenerate_cache() const;
+ void regenerate_cache() const override;
/* Keys */
- virtual const std::shared_ptr<const MetadataValueKey<std::string> > format_key() const;
- virtual const std::shared_ptr<const MetadataValueKey<FSPath> > location_key() const;
- virtual const std::shared_ptr<const MetadataValueKey<FSPath> > installed_root_key() const;
+ const std::shared_ptr<const MetadataValueKey<std::string> > format_key() const override;
+ const std::shared_ptr<const MetadataValueKey<FSPath> > location_key() const override;
+ const std::shared_ptr<const MetadataValueKey<FSPath> > installed_root_key() const override;
virtual const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > info_vars_key() const;
- virtual const std::shared_ptr<const MetadataCollectionKey<Map<std::string, std::string> > > sync_host_key() const;
+ const std::shared_ptr<const MetadataCollectionKey<Map<std::string, std::string> > > sync_host_key() const override;
///\name RepositoryFactory functions
///\{
@@ -192,7 +192,7 @@ namespace paludis
///\name Set methods
///\{
- virtual void populate_sets() const;
+ void populate_sets() const override;
///\}
diff --git a/paludis/repositories/e/e_stripper.hh b/paludis/repositories/e/e_stripper.hh
index 810cc0369..4256223ce 100644
--- a/paludis/repositories/e/e_stripper.hh
+++ b/paludis/repositories/e/e_stripper.hh
@@ -60,19 +60,19 @@ namespace paludis
Pimp<EStripper> _imp;
protected:
- virtual void on_enter_dir(const FSPath &);
- virtual void on_leave_dir(const FSPath &);
+ void on_enter_dir(const FSPath &) override;
+ void on_leave_dir(const FSPath &) override;
- virtual void on_strip(const FSPath &);
- virtual void on_split(const FSPath &, const FSPath &);
- virtual void on_dwarf_compress(const FSPath &);
- virtual void on_unknown(const FSPath &);
+ void on_strip(const FSPath &) override;
+ void on_split(const FSPath &, const FSPath &) override;
+ void on_dwarf_compress(const FSPath &) override;
+ void on_unknown(const FSPath &) override;
public:
EStripper(const EStripperOptions &);
- ~EStripper();
+ ~EStripper() override;
- virtual void strip();
+ void strip() override;
};
}
}
diff --git a/paludis/repositories/e/ebuild.hh b/paludis/repositories/e/ebuild.hh
index 0266773ae..f77b1cb05 100644
--- a/paludis/repositories/e/ebuild.hh
+++ b/paludis/repositories/e/ebuild.hh
@@ -447,13 +447,13 @@ namespace paludis
const std::string _var;
protected:
- virtual std::string commands() const;
+ std::string commands() const override;
- virtual void extend_command(Process &);
+ void extend_command(Process &) override;
- virtual bool do_run_command(Process &);
+ bool do_run_command(Process &) override;
- virtual bool failure();
+ bool failure() override;
public:
/**
@@ -483,11 +483,11 @@ namespace paludis
/// Parameters for fetch.
const EbuildNoFetchCommandParams fetch_params;
- virtual std::string commands() const;
+ std::string commands() const override;
- virtual bool failure() PALUDIS_ATTRIBUTE((noreturn));
+ bool failure() override PALUDIS_ATTRIBUTE((noreturn));
- virtual void extend_command(Process &);
+ void extend_command(Process &) override;
public:
/**
@@ -509,11 +509,11 @@ namespace paludis
/// Parameters for install.
const EbuildInstallCommandParams install_params;
- virtual std::string commands() const;
+ std::string commands() const override;
- virtual bool failure() PALUDIS_ATTRIBUTE((noreturn));
+ bool failure() override PALUDIS_ATTRIBUTE((noreturn));
- virtual void extend_command(Process &);
+ void extend_command(Process &) override;
public:
/**
@@ -535,11 +535,11 @@ namespace paludis
/// Parameters for install.
const EbuildFetchExtraCommandParams fetch_extra_params;
- virtual std::string commands() const;
+ std::string commands() const override;
- virtual bool failure() PALUDIS_ATTRIBUTE((noreturn));
+ bool failure() override PALUDIS_ATTRIBUTE((noreturn));
- virtual void extend_command(Process &);
+ void extend_command(Process &) override;
public:
/**
@@ -560,13 +560,13 @@ namespace paludis
/// Parameters for uninstall.
const EbuildUninstallCommandParams uninstall_params;
- virtual std::string commands() const;
+ std::string commands() const override;
- virtual bool failure() PALUDIS_ATTRIBUTE((noreturn));
+ bool failure() override PALUDIS_ATTRIBUTE((noreturn));
- virtual void extend_command(Process &);
+ void extend_command(Process &) override;
- virtual std::string ebuild_file() const;
+ std::string ebuild_file() const override;
public:
/**
@@ -587,13 +587,13 @@ namespace paludis
/// Parameters for config.
const EbuildConfigCommandParams config_params;
- virtual std::string commands() const;
+ std::string commands() const override;
- virtual bool failure() PALUDIS_ATTRIBUTE((noreturn));
+ bool failure() override PALUDIS_ATTRIBUTE((noreturn));
- virtual void extend_command(Process &);
+ void extend_command(Process &) override;
- virtual std::string ebuild_file() const;
+ std::string ebuild_file() const override;
public:
/**
@@ -614,11 +614,11 @@ namespace paludis
/// Parameters for config.
const EbuildPretendCommandParams pretend_params;
- virtual std::string commands() const;
+ std::string commands() const override;
- virtual bool failure();
+ bool failure() override;
- virtual void extend_command(Process &);
+ void extend_command(Process &) override;
public:
/**
@@ -640,11 +640,11 @@ namespace paludis
/// Parameters for config.
const EbuildBadOptionsCommandParams bad_options_params;
- virtual std::string commands() const;
+ std::string commands() const override;
- virtual bool failure();
+ bool failure() override;
- virtual void extend_command(Process &);
+ void extend_command(Process &) override;
public:
/**
@@ -665,13 +665,13 @@ namespace paludis
/// Parameters for config.
const EbuildInfoCommandParams info_params;
- virtual std::string commands() const;
+ std::string commands() const override;
- virtual bool failure() PALUDIS_ATTRIBUTE((noreturn));
+ bool failure() override PALUDIS_ATTRIBUTE((noreturn));
- virtual void extend_command(Process &);
+ void extend_command(Process &) override;
- virtual std::string ebuild_file() const;
+ std::string ebuild_file() const override;
public:
/**
@@ -774,17 +774,17 @@ namespace paludis
public:
EbuildMetadataCommand(const EbuildCommandParams &);
- ~EbuildMetadataCommand();
+ ~EbuildMetadataCommand() override;
- std::string commands() const;
+ std::string commands() const override;
- bool failure();
+ bool failure() override;
- bool do_run_command(Process &);
+ bool do_run_command(Process &) override;
- virtual bool in_metadata_generation() const;
+ bool in_metadata_generation() const override;
- virtual void extend_command(Process &);
+ void extend_command(Process &) override;
void load(const std::shared_ptr<const EbuildID> &);
};
diff --git a/paludis/repositories/e/ebuild_id.hh b/paludis/repositories/e/ebuild_id.hh
index 7c31c4a46..16601805a 100644
--- a/paludis/repositories/e/ebuild_id.hh
+++ b/paludis/repositories/e/ebuild_id.hh
@@ -41,12 +41,12 @@ namespace paludis
Pimp<EbuildID> _imp;
protected:
- virtual void need_keys_added() const;
+ void need_keys_added() const override;
void need_non_xml_keys_added() const;
const std::shared_ptr<const EAPI> presource_eapi() const;
void need_xml_keys_added() const;
- virtual void need_masks_added() const;
+ void need_masks_added() const override;
void need_behaviours() const;
@@ -62,47 +62,47 @@ namespace paludis
const time_t master_mtime,
const std::shared_ptr<const EclassMtimes> & eclass_mtimes);
- ~EbuildID();
-
- virtual const std::string canonical_form(const PackageIDCanonicalForm) const;
- virtual PackageDepSpec uniquely_identifying_spec() const;
-
- virtual const QualifiedPackageName name() const;
- virtual const VersionSpec version() const;
- virtual const RepositoryName repository_name() const;
- virtual bool is_installed() const PALUDIS_ATTRIBUTE((warn_unused_result));
-
- virtual const std::shared_ptr<const MetadataValueKey<Slot> > slot_key() const;
- virtual const std::shared_ptr<const MetadataCollectionKey<KeywordNameSet> > keywords_key() const;
- virtual const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > build_dependencies_key() const;
- virtual const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > run_dependencies_key() const;
- virtual const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > post_dependencies_key() const;
- virtual const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > dependencies_key() const;
- virtual const std::shared_ptr<const MetadataSpecTreeKey<FetchableURISpecTree> > fetches_key() const;
- virtual const std::shared_ptr<const MetadataSpecTreeKey<SimpleURISpecTree> > homepage_key() const;
- virtual const std::shared_ptr<const MetadataValueKey<std::string> > short_description_key() const;
- virtual const std::shared_ptr<const MetadataValueKey<std::string> > long_description_key() const;
- virtual const std::shared_ptr<const MetadataTimeKey> installed_time_key() const;
- virtual const std::shared_ptr<const MetadataValueKey<FSPath> > fs_location_key() const;
- virtual const std::shared_ptr<const MetadataValueKey<std::shared_ptr<const Choices> > > choices_key() const;
- const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > from_repositories_key() const;
-
- const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > inherited_key() const;
- const std::shared_ptr<const MetadataSpecTreeKey<LicenseSpecTree> > license_key() const;
- virtual const std::shared_ptr<const MetadataSpecTreeKey<PlainTextSpecTree> > restrict_key() const;
- virtual const std::shared_ptr<const MetadataSpecTreeKey<PlainTextSpecTree> > properties_key() const;
-
- virtual const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > raw_use_key() const;
- virtual const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > raw_iuse_key() const;
- virtual const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > raw_iuse_effective_key() const;
- virtual const std::shared_ptr<const MetadataSpecTreeKey<PlainTextSpecTree> > raw_myoptions_key() const;
- virtual const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > raw_use_expand_key() const;
- virtual const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > raw_use_expand_hidden_key() const;
- virtual const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > defined_phases_key() const;
- virtual const std::shared_ptr<const MetadataSpecTreeKey<RequiredUseSpecTree> > required_use_key() const;
- virtual const std::shared_ptr<const MetadataValueKey<std::string> > scm_revision_key() const;
-
- virtual const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > behaviours_key() const;
+ ~EbuildID() override;
+
+ const std::string canonical_form(const PackageIDCanonicalForm) const override;
+ PackageDepSpec uniquely_identifying_spec() const override;
+
+ const QualifiedPackageName name() const override;
+ const VersionSpec version() const override;
+ const RepositoryName repository_name() const override;
+ bool is_installed() const override PALUDIS_ATTRIBUTE((warn_unused_result));
+
+ const std::shared_ptr<const MetadataValueKey<Slot> > slot_key() const override;
+ const std::shared_ptr<const MetadataCollectionKey<KeywordNameSet> > keywords_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > build_dependencies_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > run_dependencies_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > post_dependencies_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > dependencies_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<FetchableURISpecTree> > fetches_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<SimpleURISpecTree> > homepage_key() const override;
+ const std::shared_ptr<const MetadataValueKey<std::string> > short_description_key() const override;
+ const std::shared_ptr<const MetadataValueKey<std::string> > long_description_key() const override;
+ const std::shared_ptr<const MetadataTimeKey> installed_time_key() const override;
+ const std::shared_ptr<const MetadataValueKey<FSPath> > fs_location_key() const override;
+ const std::shared_ptr<const MetadataValueKey<std::shared_ptr<const Choices> > > choices_key() const override;
+ const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > from_repositories_key() const override;
+
+ const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > inherited_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<LicenseSpecTree> > license_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<PlainTextSpecTree> > restrict_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<PlainTextSpecTree> > properties_key() const override;
+
+ const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > raw_use_key() const override;
+ const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > raw_iuse_key() const override;
+ const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > raw_iuse_effective_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<PlainTextSpecTree> > raw_myoptions_key() const override;
+ const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > raw_use_expand_key() const override;
+ const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > raw_use_expand_hidden_key() const override;
+ const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > defined_phases_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<RequiredUseSpecTree> > required_use_key() const override;
+ const std::shared_ptr<const MetadataValueKey<std::string> > scm_revision_key() const override;
+
+ const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > behaviours_key() const override;
const std::shared_ptr<const MetadataSpecTreeKey<PlainTextSpecTree> > remote_ids_key() const;
const std::shared_ptr<const MetadataSpecTreeKey<PlainTextSpecTree> > bugs_to_key() const;
@@ -113,11 +113,11 @@ namespace paludis
const std::shared_ptr<const MetadataTimeKey> generated_time_key() const;
const std::shared_ptr<const MetadataValueKey<std::string> > generated_using_key() const;
- virtual bool arbitrary_less_than_comparison(const PackageID &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ bool arbitrary_less_than_comparison(const PackageID &) const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::size_t extra_hash_value() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ std::size_t extra_hash_value() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
void set_eapi(const std::string &) const;
std::string guessed_eapi_name() const;
@@ -156,25 +156,25 @@ namespace paludis
void load_generated_time(const std::string &, const std::string &, const std::string &) const;
void load_scm_revision(const std::string &, const std::string &, const std::string &) const;
- virtual bool supports_action(const SupportsActionTestBase &) const PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual void perform_action(Action &) const;
+ bool supports_action(const SupportsActionTestBase &) const override PALUDIS_ATTRIBUTE((warn_unused_result));
+ void perform_action(Action &) const override;
- virtual const std::shared_ptr<const EAPI> eapi() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::shared_ptr<const EAPI> eapi() const override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::shared_ptr<const ChoiceValue> make_choice_value(
+ const std::shared_ptr<const ChoiceValue> make_choice_value(
const std::shared_ptr<const Choice> &, const UnprefixedChoiceName &, const Tribool,
- const bool, const ChoiceOrigin, const std::string &, const bool, const bool) const;
+ const bool, const ChoiceOrigin, const std::string &, const bool, const bool) const override;
- virtual void add_build_options(const std::shared_ptr<Choices> &) const;
+ void add_build_options(const std::shared_ptr<Choices> &) const override;
- virtual void purge_invalid_cache() const;
+ void purge_invalid_cache() const override;
bool might_be_binary() const;
bool is_stable() const;
- virtual void set_scm_revision(const std::string &) const;
+ void set_scm_revision(const std::string &) const override;
- virtual const std::shared_ptr<const Contents> contents() const;
+ const std::shared_ptr<const Contents> contents() const override;
};
}
}
diff --git a/paludis/repositories/e/exheres_layout.hh b/paludis/repositories/e/exheres_layout.hh
index 732a04d4a..46e50d13e 100644
--- a/paludis/repositories/e/exheres_layout.hh
+++ b/paludis/repositories/e/exheres_layout.hh
@@ -52,91 +52,91 @@ namespace paludis
const ERepository * const, const FSPath &,
const std::shared_ptr<const FSPathSequence> &);
- virtual ~ExheresLayout();
+ ~ExheresLayout() override;
///\}
- virtual bool has_category_named(const CategoryNamePart &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ bool has_category_named(const CategoryNamePart &) const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual bool has_package_named(const QualifiedPackageName &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ bool has_package_named(const QualifiedPackageName &) const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual FSPath categories_file() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ FSPath categories_file() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::shared_ptr<const CategoryNamePartSet> category_names() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ std::shared_ptr<const CategoryNamePartSet> category_names() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::shared_ptr<const QualifiedPackageNameSet> package_names(
+ std::shared_ptr<const QualifiedPackageNameSet> package_names(
const CategoryNamePart &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::shared_ptr<const PackageIDSequence> package_ids(
+ std::shared_ptr<const PackageIDSequence> package_ids(
const QualifiedPackageName &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::shared_ptr<const FSPathSequence> info_packages_files() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::shared_ptr<const FSPathSequence> info_packages_files() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::shared_ptr<const FSPathSequence> info_variables_files() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::shared_ptr<const FSPathSequence> info_variables_files() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual FSPath package_directory(const QualifiedPackageName &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ FSPath package_directory(const QualifiedPackageName &) const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual FSPath category_directory(const CategoryNamePart &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ FSPath category_directory(const CategoryNamePart &) const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual FSPath binary_ebuild_directory(const QualifiedPackageName &) const PALUDIS_ATTRIBUTE((warn_unused_result));
+ FSPath binary_ebuild_directory(const QualifiedPackageName &) const override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::shared_ptr<const FSPathSequence> arch_list_files() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ std::shared_ptr<const FSPathSequence> arch_list_files() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::shared_ptr<const FSPathSequence> repository_mask_files() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ std::shared_ptr<const FSPathSequence> repository_mask_files() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::shared_ptr<const FSPathSequence> profiles_desc_files() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ std::shared_ptr<const FSPathSequence> profiles_desc_files() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::shared_ptr<const FSPathSequence> mirror_files() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ std::shared_ptr<const FSPathSequence> mirror_files() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::shared_ptr<const UseDescFileInfoSequence> use_desc_files() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ std::shared_ptr<const UseDescFileInfoSequence> use_desc_files() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual FSPath profiles_base_dir() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ FSPath profiles_base_dir() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::shared_ptr<const FSPathSequence> exlibsdirs(const QualifiedPackageName &) const;
+ std::shared_ptr<const FSPathSequence> exlibsdirs(const QualifiedPackageName &) const override;
- virtual std::shared_ptr<const FSPathSequence> exlibsdirs_global() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ std::shared_ptr<const FSPathSequence> exlibsdirs_global() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::shared_ptr<const FSPathSequence> exlibsdirs_category(const CategoryNamePart &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ std::shared_ptr<const FSPathSequence> exlibsdirs_category(const CategoryNamePart &) const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::shared_ptr<const FSPathSequence> exlibsdirs_package(const QualifiedPackageName &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ std::shared_ptr<const FSPathSequence> exlibsdirs_package(const QualifiedPackageName &) const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::shared_ptr<const FSPathSequence> licenses_dirs() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ std::shared_ptr<const FSPathSequence> licenses_dirs() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::shared_ptr<Map<FSPath, std::string, FSPathComparator> > manifest_files(
+ std::shared_ptr<Map<FSPath, std::string, FSPathComparator> > manifest_files(
const QualifiedPackageName &, const FSPath &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::shared_ptr<MetadataValueKey<FSPath> > accounts_repository_data_location_key() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ std::shared_ptr<MetadataValueKey<FSPath> > accounts_repository_data_location_key() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::shared_ptr<MetadataValueKey<FSPath> > e_updates_location_key() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ std::shared_ptr<MetadataValueKey<FSPath> > e_updates_location_key() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::shared_ptr<MetadataValueKey<FSPath> > licence_groups_location_key() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ std::shared_ptr<MetadataValueKey<FSPath> > licence_groups_location_key() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::shared_ptr<const MasksInfo> repository_masks(const std::shared_ptr<const PackageID> &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ std::shared_ptr<const MasksInfo> repository_masks(const std::shared_ptr<const PackageID> &) const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
};
}
}
diff --git a/paludis/repositories/e/exheres_profile.hh b/paludis/repositories/e/exheres_profile.hh
index 34a93ed0c..484570a43 100644
--- a/paludis/repositories/e/exheres_profile.hh
+++ b/paludis/repositories/e/exheres_profile.hh
@@ -48,57 +48,57 @@ namespace paludis
const bool has_master_repositories,
const bool ignore_deprecated_profiles);
- virtual ~ExheresProfile();
+ ~ExheresProfile() override;
- virtual std::shared_ptr<const FSPathSequence> profiles_with_parents() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ std::shared_ptr<const FSPathSequence> profiles_with_parents() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual bool use_masked(
+ bool use_masked(
const std::shared_ptr<const EbuildID> &,
const std::shared_ptr<const Choice> &,
const UnprefixedChoiceName & value_unprefixed,
const ChoiceNameWithPrefix & value_prefixed
- ) const PALUDIS_ATTRIBUTE((warn_unused_result));
+ ) const override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual bool use_forced(
+ bool use_forced(
const std::shared_ptr<const EbuildID> &,
const std::shared_ptr<const Choice> &,
const UnprefixedChoiceName & value_unprefixed,
const ChoiceNameWithPrefix & value_prefixed
- ) const PALUDIS_ATTRIBUTE((warn_unused_result));
+ ) const override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual Tribool use_state_ignoring_masks(
+ Tribool use_state_ignoring_masks(
const std::shared_ptr<const PackageID> &,
const std::shared_ptr<const Choice> &,
const UnprefixedChoiceName & value_unprefixed,
const ChoiceNameWithPrefix & value_prefixed
- ) const PALUDIS_ATTRIBUTE((warn_unused_result));
+ ) const override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::shared_ptr<const Set<UnprefixedChoiceName> > known_choice_value_names(
+ const std::shared_ptr<const Set<UnprefixedChoiceName> > known_choice_value_names(
const std::shared_ptr<const erepository::ERepositoryID> &,
const std::shared_ptr<const Choice> &
- ) const PALUDIS_ATTRIBUTE((warn_unused_result));
-
- virtual const std::shared_ptr<const Set<std::string> > use_expand() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::shared_ptr<const Set<std::string> > use_expand_hidden() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::shared_ptr<const Set<std::string>> use_expand_no_describe() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::shared_ptr<const Set<std::string> > use_expand_unprefixed() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::shared_ptr<const Set<std::string> > use_expand_implicit() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::shared_ptr<const Set<std::string> > iuse_implicit() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::shared_ptr<const Set<std::string> > use_expand_values(const std::string &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
-
- virtual const std::string environment_variable(const std::string &) const;
-
- virtual const std::shared_ptr<const MasksInfo> profile_masks(const std::shared_ptr<const PackageID> &) const;
-
- virtual const std::shared_ptr<const SetSpecTree> system_packages() const;
+ ) const override PALUDIS_ATTRIBUTE((warn_unused_result));
+
+ const std::shared_ptr<const Set<std::string> > use_expand() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::shared_ptr<const Set<std::string> > use_expand_hidden() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::shared_ptr<const Set<std::string>> use_expand_no_describe() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::shared_ptr<const Set<std::string> > use_expand_unprefixed() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::shared_ptr<const Set<std::string> > use_expand_implicit() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::shared_ptr<const Set<std::string> > iuse_implicit() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::shared_ptr<const Set<std::string> > use_expand_values(const std::string &) const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
+
+ const std::string environment_variable(const std::string &) const override;
+
+ const std::shared_ptr<const MasksInfo> profile_masks(const std::shared_ptr<const PackageID> &) const override;
+
+ const std::shared_ptr<const SetSpecTree> system_packages() const override;
};
}
}
diff --git a/paludis/repositories/e/exndbam_id.hh b/paludis/repositories/e/exndbam_id.hh
index f8cd07634..45179a99c 100644
--- a/paludis/repositories/e/exndbam_id.hh
+++ b/paludis/repositories/e/exndbam_id.hh
@@ -40,10 +40,10 @@ namespace paludis
const FSPath & file,
const NDBAM * const);
- virtual std::string fs_location_raw_name() const;
- virtual std::string fs_location_human_name() const;
- virtual std::string contents_filename() const;
- virtual const std::shared_ptr<const Contents> contents() const;
+ std::string fs_location_raw_name() const override;
+ std::string fs_location_human_name() const override;
+ std::string contents_filename() const override;
+ const std::shared_ptr<const Contents> contents() const override;
};
}
}
diff --git a/paludis/repositories/e/exndbam_repository.hh b/paludis/repositories/e/exndbam_repository.hh
index ea8897856..f5cb53508 100644
--- a/paludis/repositories/e/exndbam_repository.hh
+++ b/paludis/repositories/e/exndbam_repository.hh
@@ -62,7 +62,7 @@ namespace paludis
void _add_metadata_keys() const;
protected:
- virtual void need_keys_added() const;
+ void need_keys_added() const override;
public:
/**
@@ -73,60 +73,60 @@ namespace paludis
/**
* Destructor.
*/
- ~ExndbamRepository();
+ ~ExndbamRepository() override;
- virtual void invalidate();
+ void invalidate() override;
- virtual void regenerate_cache() const;
+ void regenerate_cache() const override;
/* RepositoryDestinationInterface */
- virtual void merge(const MergeParams &);
+ void merge(const MergeParams &) override;
/* Repository */
- virtual std::shared_ptr<const PackageIDSequence> package_ids(
+ std::shared_ptr<const PackageIDSequence> package_ids(
const QualifiedPackageName &,
const RepositoryContentMayExcludes &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::shared_ptr<const QualifiedPackageNameSet> package_names(
+ std::shared_ptr<const QualifiedPackageNameSet> package_names(
const CategoryNamePart &,
const RepositoryContentMayExcludes &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::shared_ptr<const CategoryNamePartSet> category_names(
+ std::shared_ptr<const CategoryNamePartSet> category_names(
const RepositoryContentMayExcludes &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::shared_ptr<const CategoryNamePartSet> category_names_containing_package(
+ std::shared_ptr<const CategoryNamePartSet> category_names_containing_package(
const PackageNamePart &,
const RepositoryContentMayExcludes &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual bool has_package_named(const QualifiedPackageName &,
+ bool has_package_named(const QualifiedPackageName &,
const RepositoryContentMayExcludes &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual bool has_category_named(const CategoryNamePart &,
+ bool has_category_named(const CategoryNamePart &,
const RepositoryContentMayExcludes &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const bool is_unimportant() const;
+ const bool is_unimportant() const override;
/* Keys */
- virtual const std::shared_ptr<const MetadataValueKey<std::string> > format_key() const;
- virtual const std::shared_ptr<const MetadataValueKey<FSPath> > location_key() const;
- virtual const std::shared_ptr<const MetadataValueKey<FSPath> > installed_root_key() const;
- virtual const std::shared_ptr<const MetadataCollectionKey<Map<std::string, std::string> > > sync_host_key() const;
+ const std::shared_ptr<const MetadataValueKey<std::string> > format_key() const override;
+ const std::shared_ptr<const MetadataValueKey<FSPath> > location_key() const override;
+ const std::shared_ptr<const MetadataValueKey<FSPath> > installed_root_key() const override;
+ const std::shared_ptr<const MetadataCollectionKey<Map<std::string, std::string> > > sync_host_key() const override;
///\name For use by ExndbamID
///\{
void perform_uninstall(
const std::shared_ptr<const erepository::ERepositoryID> & id,
- const UninstallAction &) const;
+ const UninstallAction &) const override;
///\}
@@ -147,7 +147,7 @@ namespace paludis
///\}
- virtual void perform_updates();
+ void perform_updates() override;
};
class PALUDIS_VISIBLE ExndbamRepositoryConfigurationError : public ConfigurationError
diff --git a/paludis/repositories/e/info_metadata_key.hh b/paludis/repositories/e/info_metadata_key.hh
index 1fa002e49..30120f5ef 100644
--- a/paludis/repositories/e/info_metadata_key.hh
+++ b/paludis/repositories/e/info_metadata_key.hh
@@ -21,17 +21,17 @@ namespace paludis
Pimp<InfoPkgsMetadataKey> _imp;
protected:
- virtual void need_keys_added() const;
+ void need_keys_added() const override;
public:
InfoPkgsMetadataKey(const Environment * const e,
const std::shared_ptr<const FSPathSequence> & f,
const ERepository * const);
- ~InfoPkgsMetadataKey();
+ ~InfoPkgsMetadataKey() override;
- virtual const std::string raw_name() const PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::string human_name() const PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual MetadataKeyType type() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::string raw_name() const override PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::string human_name() const override PALUDIS_ATTRIBUTE((warn_unused_result));
+ MetadataKeyType type() const override PALUDIS_ATTRIBUTE((warn_unused_result));
};
class InfoVarsMetadataKey :
@@ -42,17 +42,17 @@ namespace paludis
public:
InfoVarsMetadataKey(const std::shared_ptr<const FSPathSequence> &);
- ~InfoVarsMetadataKey();
+ ~InfoVarsMetadataKey() override;
- const std::shared_ptr<const Set<std::string> > parse_value() const;
+ const std::shared_ptr<const Set<std::string> > parse_value() const override;
- virtual const std::string raw_name() const PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::string human_name() const PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual MetadataKeyType type() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::string raw_name() const override PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::string human_name() const override PALUDIS_ATTRIBUTE((warn_unused_result));
+ MetadataKeyType type() const override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::string pretty_print_value(
+ const std::string pretty_print_value(
const PrettyPrinter &,
- const PrettyPrintOptions &) const PALUDIS_ATTRIBUTE((warn_unused_result));
+ const PrettyPrintOptions &) const override PALUDIS_ATTRIBUTE((warn_unused_result));
};
}
diff --git a/paludis/repositories/e/pbin_merger.hh b/paludis/repositories/e/pbin_merger.hh
index 687242eae..358b8f36e 100644
--- a/paludis/repositories/e/pbin_merger.hh
+++ b/paludis/repositories/e/pbin_merger.hh
@@ -69,25 +69,25 @@ namespace paludis
Pimp<PbinMerger> _imp;
protected:
- virtual void on_error(bool is_check, const std::string &);
- virtual void on_warn(bool is_check, const std::string &);
- virtual void display_override(const std::string &) const;
+ void on_error(bool is_check, const std::string &) override;
+ void on_warn(bool is_check, const std::string &) override;
+ void display_override(const std::string &) const override;
- virtual void on_enter_dir(bool is_check, const FSPath);
+ void on_enter_dir(bool is_check, const FSPath) override;
- virtual void on_done_merge();
+ void on_done_merge() override;
- virtual void track_install_file(const FSPath &, const FSPath &);
- virtual void track_install_sym(const FSPath &, const FSPath &);
+ void track_install_file(const FSPath &, const FSPath &) override;
+ void track_install_sym(const FSPath &, const FSPath &) override;
public:
PbinMerger(const PbinMergerParams &);
~PbinMerger();
- virtual Hook extend_hook(const Hook &);
+ Hook extend_hook(const Hook &) override;
- virtual void merge();
- virtual bool check();
+ void merge() override;
+ bool check() override;
};
}
}
diff --git a/paludis/repositories/e/traditional_layout.hh b/paludis/repositories/e/traditional_layout.hh
index 973dab56c..78441e1cf 100644
--- a/paludis/repositories/e/traditional_layout.hh
+++ b/paludis/repositories/e/traditional_layout.hh
@@ -55,94 +55,94 @@ namespace paludis
const FSPath &,
const std::shared_ptr<const FSPathSequence> &);
- virtual ~TraditionalLayout();
+ ~TraditionalLayout() override;
///\}
- virtual bool has_category_named(const CategoryNamePart &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ bool has_category_named(const CategoryNamePart &) const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual bool has_package_named(const QualifiedPackageName &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ bool has_package_named(const QualifiedPackageName &) const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual FSPath categories_file() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ FSPath categories_file() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::shared_ptr<const CategoryNamePartSet> category_names() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ std::shared_ptr<const CategoryNamePartSet> category_names() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::shared_ptr<const QualifiedPackageNameSet> package_names(
+ std::shared_ptr<const QualifiedPackageNameSet> package_names(
const CategoryNamePart &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::shared_ptr<const PackageIDSequence> package_ids(
+ std::shared_ptr<const PackageIDSequence> package_ids(
const QualifiedPackageName &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::shared_ptr<const FSPathSequence> info_packages_files() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::shared_ptr<const FSPathSequence> info_packages_files() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::shared_ptr<const FSPathSequence> info_variables_files() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::shared_ptr<const FSPathSequence> info_variables_files() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual FSPath package_directory(const QualifiedPackageName &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ FSPath package_directory(const QualifiedPackageName &) const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual FSPath category_directory(const CategoryNamePart &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ FSPath category_directory(const CategoryNamePart &) const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual FSPath binary_ebuild_directory(const QualifiedPackageName &) const PALUDIS_ATTRIBUTE((warn_unused_result));
+ FSPath binary_ebuild_directory(const QualifiedPackageName &) const override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::shared_ptr<const FSPathSequence> arch_list_files() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ std::shared_ptr<const FSPathSequence> arch_list_files() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::shared_ptr<const FSPathSequence> repository_mask_files() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ std::shared_ptr<const FSPathSequence> repository_mask_files() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::shared_ptr<const FSPathSequence> profiles_desc_files() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ std::shared_ptr<const FSPathSequence> profiles_desc_files() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::shared_ptr<const FSPathSequence> mirror_files() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ std::shared_ptr<const FSPathSequence> mirror_files() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::shared_ptr<const UseDescFileInfoSequence> use_desc_files() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ std::shared_ptr<const UseDescFileInfoSequence> use_desc_files() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual FSPath profiles_base_dir() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ FSPath profiles_base_dir() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::shared_ptr<const FSPathSequence> exlibsdirs(const QualifiedPackageName &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ std::shared_ptr<const FSPathSequence> exlibsdirs(const QualifiedPackageName &) const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::shared_ptr<const FSPathSequence> exlibsdirs_global() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ std::shared_ptr<const FSPathSequence> exlibsdirs_global() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::shared_ptr<const FSPathSequence> exlibsdirs_category(const CategoryNamePart &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ std::shared_ptr<const FSPathSequence> exlibsdirs_category(const CategoryNamePart &) const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::shared_ptr<const FSPathSequence> exlibsdirs_package(const QualifiedPackageName &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ std::shared_ptr<const FSPathSequence> exlibsdirs_package(const QualifiedPackageName &) const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::shared_ptr<const FSPathSequence> licenses_dirs() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ std::shared_ptr<const FSPathSequence> licenses_dirs() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::shared_ptr<Map<FSPath, std::string, FSPathComparator> > manifest_files(
+ std::shared_ptr<Map<FSPath, std::string, FSPathComparator> > manifest_files(
const QualifiedPackageName &, const FSPath &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::shared_ptr<MetadataValueKey<FSPath> > accounts_repository_data_location_key() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ std::shared_ptr<MetadataValueKey<FSPath> > accounts_repository_data_location_key() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::shared_ptr<MetadataValueKey<FSPath> > e_updates_location_key() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ std::shared_ptr<MetadataValueKey<FSPath> > e_updates_location_key() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::shared_ptr<MetadataValueKey<FSPath> > licence_groups_location_key() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ std::shared_ptr<MetadataValueKey<FSPath> > licence_groups_location_key() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual FSPath sync_filter_file() const;
+ FSPath sync_filter_file() const override;
- virtual std::shared_ptr<const MasksInfo> repository_masks(const std::shared_ptr<const PackageID> &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ std::shared_ptr<const MasksInfo> repository_masks(const std::shared_ptr<const PackageID> &) const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
};
}
}
diff --git a/paludis/repositories/e/traditional_profile.hh b/paludis/repositories/e/traditional_profile.hh
index 5a98a3b8d..81044a9f0 100644
--- a/paludis/repositories/e/traditional_profile.hh
+++ b/paludis/repositories/e/traditional_profile.hh
@@ -47,57 +47,57 @@ namespace paludis
const bool ignore_deprecated_profiles
);
- virtual ~TraditionalProfile();
+ ~TraditionalProfile() override;
- virtual std::shared_ptr<const FSPathSequence> profiles_with_parents() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ std::shared_ptr<const FSPathSequence> profiles_with_parents() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual bool use_masked(
+ bool use_masked(
const std::shared_ptr<const EbuildID> &,
const std::shared_ptr<const Choice> &,
const UnprefixedChoiceName & value_unprefixed,
const ChoiceNameWithPrefix & value_prefixed
- ) const PALUDIS_ATTRIBUTE((warn_unused_result));
+ ) const override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual bool use_forced(
+ bool use_forced(
const std::shared_ptr<const EbuildID> &,
const std::shared_ptr<const Choice> &,
const UnprefixedChoiceName & value_unprefixed,
const ChoiceNameWithPrefix & value_prefixed
- ) const PALUDIS_ATTRIBUTE((warn_unused_result));
+ ) const override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual Tribool use_state_ignoring_masks(
+ Tribool use_state_ignoring_masks(
const std::shared_ptr<const PackageID> &,
const std::shared_ptr<const Choice> &,
const UnprefixedChoiceName & value_unprefixed,
const ChoiceNameWithPrefix & value_prefixed
- ) const PALUDIS_ATTRIBUTE((warn_unused_result));
+ ) const override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::shared_ptr<const Set<UnprefixedChoiceName> > known_choice_value_names(
+ const std::shared_ptr<const Set<UnprefixedChoiceName> > known_choice_value_names(
const std::shared_ptr<const erepository::ERepositoryID> &,
const std::shared_ptr<const Choice> &
- ) const PALUDIS_ATTRIBUTE((warn_unused_result));
-
- virtual const std::shared_ptr<const Set<std::string> > use_expand() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::shared_ptr<const Set<std::string> > use_expand_hidden() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::shared_ptr<const Set<std::string>> use_expand_no_describe() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::shared_ptr<const Set<std::string> > use_expand_unprefixed() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::shared_ptr<const Set<std::string> > use_expand_implicit() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::shared_ptr<const Set<std::string> > iuse_implicit() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::shared_ptr<const Set<std::string> > use_expand_values(const std::string &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
-
- virtual const std::string environment_variable(const std::string &) const;
-
- virtual const std::shared_ptr<const MasksInfo> profile_masks(const std::shared_ptr<const PackageID> &) const;
-
- virtual const std::shared_ptr<const SetSpecTree> system_packages() const;
+ ) const override PALUDIS_ATTRIBUTE((warn_unused_result));
+
+ const std::shared_ptr<const Set<std::string> > use_expand() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::shared_ptr<const Set<std::string> > use_expand_hidden() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::shared_ptr<const Set<std::string>> use_expand_no_describe() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::shared_ptr<const Set<std::string> > use_expand_unprefixed() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::shared_ptr<const Set<std::string> > use_expand_implicit() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::shared_ptr<const Set<std::string> > iuse_implicit() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::shared_ptr<const Set<std::string> > use_expand_values(const std::string &) const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
+
+ const std::string environment_variable(const std::string &) const override;
+
+ const std::shared_ptr<const MasksInfo> profile_masks(const std::shared_ptr<const PackageID> &) const override;
+
+ const std::shared_ptr<const SetSpecTree> system_packages() const override;
};
}
}
diff --git a/paludis/repositories/e/vdb_id.hh b/paludis/repositories/e/vdb_id.hh
index e2c191b80..aba1b2983 100644
--- a/paludis/repositories/e/vdb_id.hh
+++ b/paludis/repositories/e/vdb_id.hh
@@ -35,10 +35,10 @@ namespace paludis
const RepositoryName &,
const FSPath & file);
- virtual std::string fs_location_raw_name() const;
- virtual std::string fs_location_human_name() const;
- virtual std::string contents_filename() const;
- virtual const std::shared_ptr<const Contents> contents() const;
+ std::string fs_location_raw_name() const override;
+ std::string fs_location_human_name() const override;
+ std::string contents_filename() const override;
+ const std::shared_ptr<const Contents> contents() const override;
};
}
}
diff --git a/paludis/repositories/e/vdb_merger.hh b/paludis/repositories/e/vdb_merger.hh
index 753d19fc6..685b53305 100644
--- a/paludis/repositories/e/vdb_merger.hh
+++ b/paludis/repositories/e/vdb_merger.hh
@@ -80,7 +80,7 @@ namespace paludis
public FSMerger
{
private:
- void display_override(const std::string &) const;
+ void display_override(const std::string &) const override;
Pimp<VDBMerger> _imp;
@@ -89,30 +89,30 @@ namespace paludis
///\{
VDBMerger(const VDBMergerParams &);
- ~VDBMerger();
+ ~VDBMerger() override;
///\}
- virtual Hook extend_hook(const Hook &);
+ Hook extend_hook(const Hook &) override;
- virtual void record_install_file(const FSPath &, const FSPath &, const std::string &, const FSMergerStatusFlags &);
- virtual void record_install_dir(const FSPath &, const FSPath &, const FSMergerStatusFlags &);
- virtual void record_install_under_dir(const FSPath &, const FSMergerStatusFlags &);
- virtual void record_install_sym(const FSPath &, const FSPath &, const FSMergerStatusFlags &);
+ void record_install_file(const FSPath &, const FSPath &, const std::string &, const FSMergerStatusFlags &) override;
+ void record_install_dir(const FSPath &, const FSPath &, const FSMergerStatusFlags &) override;
+ void record_install_under_dir(const FSPath &, const FSMergerStatusFlags &) override;
+ void record_install_sym(const FSPath &, const FSPath &, const FSMergerStatusFlags &) override;
- virtual void on_error(bool is_check, const std::string &);
- virtual void on_warn(bool is_check, const std::string &);
- virtual void on_enter_dir(bool is_check, const FSPath);
+ void on_error(bool is_check, const std::string &) override;
+ void on_warn(bool is_check, const std::string &) override;
+ void on_enter_dir(bool is_check, const FSPath) override;
- virtual void on_file(bool is_check, const FSPath &, const FSPath &);
- virtual void on_dir(bool is_check, const FSPath &, const FSPath &);
- virtual void on_sym(bool is_check, const FSPath &, const FSPath &);
+ void on_file(bool is_check, const FSPath &, const FSPath &) override;
+ void on_dir(bool is_check, const FSPath &, const FSPath &) override;
+ void on_sym(bool is_check, const FSPath &, const FSPath &) override;
- virtual bool config_protected(const FSPath &, const FSPath &);
- virtual std::string make_config_protect_name(const FSPath &, const FSPath &);
+ bool config_protected(const FSPath &, const FSPath &) override;
+ std::string make_config_protect_name(const FSPath &, const FSPath &) override;
- virtual void merge();
- virtual bool check();
+ void merge() override;
+ bool check() override;
};
}
diff --git a/paludis/repositories/e/vdb_repository.hh b/paludis/repositories/e/vdb_repository.hh
index 0164ca26a..314d9c75b 100644
--- a/paludis/repositories/e/vdb_repository.hh
+++ b/paludis/repositories/e/vdb_repository.hh
@@ -91,7 +91,7 @@ namespace paludis
PALUDIS_ATTRIBUTE((warn_unused_result));
protected:
- virtual void need_keys_added() const;
+ void need_keys_added() const override;
public:
/**
@@ -102,51 +102,51 @@ namespace paludis
/**
* Destructor.
*/
- ~VDBRepository();
+ ~VDBRepository() override;
- virtual void invalidate();
+ void invalidate() override;
- virtual void regenerate_cache() const;
+ void regenerate_cache() const override;
- virtual void perform_uninstall(
+ void perform_uninstall(
const std::shared_ptr<const erepository::ERepositoryID> & id,
- const UninstallAction &) const;
+ const UninstallAction &) const override;
/* RepositoryDestinationInterface */
- virtual void merge(const MergeParams &);
+ void merge(const MergeParams &) override;
/* Repository */
- virtual std::shared_ptr<const PackageIDSequence> package_ids(
+ std::shared_ptr<const PackageIDSequence> package_ids(
const QualifiedPackageName &, const RepositoryContentMayExcludes &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::shared_ptr<const QualifiedPackageNameSet> package_names(
+ std::shared_ptr<const QualifiedPackageNameSet> package_names(
const CategoryNamePart &, const RepositoryContentMayExcludes &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::shared_ptr<const CategoryNamePartSet> category_names(
+ std::shared_ptr<const CategoryNamePartSet> category_names(
const RepositoryContentMayExcludes &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::shared_ptr<const CategoryNamePartSet> category_names_containing_package(
+ std::shared_ptr<const CategoryNamePartSet> category_names_containing_package(
const PackageNamePart &, const RepositoryContentMayExcludes &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual bool has_package_named(const QualifiedPackageName &, const RepositoryContentMayExcludes &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ bool has_package_named(const QualifiedPackageName &, const RepositoryContentMayExcludes &) const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual bool has_category_named(const CategoryNamePart &, const RepositoryContentMayExcludes &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ bool has_category_named(const CategoryNamePart &, const RepositoryContentMayExcludes &) const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const bool is_unimportant() const;
+ const bool is_unimportant() const override;
/* Keys */
- virtual const std::shared_ptr<const MetadataValueKey<std::string> > format_key() const;
- virtual const std::shared_ptr<const MetadataValueKey<FSPath> > location_key() const;
- virtual const std::shared_ptr<const MetadataValueKey<FSPath> > installed_root_key() const;
- virtual const std::shared_ptr<const MetadataCollectionKey<Map<std::string, std::string> > > sync_host_key() const;
+ const std::shared_ptr<const MetadataValueKey<std::string> > format_key() const override;
+ const std::shared_ptr<const MetadataValueKey<FSPath> > location_key() const override;
+ const std::shared_ptr<const MetadataValueKey<FSPath> > installed_root_key() const override;
+ const std::shared_ptr<const MetadataCollectionKey<Map<std::string, std::string> > > sync_host_key() const override;
///\name RepositoryFactory functions
///\{
@@ -165,7 +165,7 @@ namespace paludis
///\}
- virtual void perform_updates();
+ void perform_updates() override;
};
/**
diff --git a/paludis/repositories/e/vdb_unmerger.hh b/paludis/repositories/e/vdb_unmerger.hh
index f4c2e5d65..af300899b 100644
--- a/paludis/repositories/e/vdb_unmerger.hh
+++ b/paludis/repositories/e/vdb_unmerger.hh
@@ -95,25 +95,25 @@ namespace paludis
bool config_protected(const FSPath &) const;
std::string make_tidy(const FSPath &) const;
- void populate_unmerge_set();
+ void populate_unmerge_set() override;
- void display(const std::string &) const;
+ void display(const std::string &) const override;
- bool check_file(const std::shared_ptr<const ContentsEntry> &) const;
- bool check_dir(const std::shared_ptr<const ContentsEntry> &) const;
- bool check_sym(const std::shared_ptr<const ContentsEntry> &) const;
- bool check_misc(const std::shared_ptr<const ContentsEntry> &) const;
+ bool check_file(const std::shared_ptr<const ContentsEntry> &) const override;
+ bool check_dir(const std::shared_ptr<const ContentsEntry> &) const override;
+ bool check_sym(const std::shared_ptr<const ContentsEntry> &) const override;
+ bool check_misc(const std::shared_ptr<const ContentsEntry> &) const override;
public:
///\name Basic operations
///\{
VDBUnmerger(const VDBUnmergerOptions &);
- ~VDBUnmerger();
+ ~VDBUnmerger() override;
///\}
- virtual Hook extend_hook(const Hook &) const;
+ Hook extend_hook(const Hook &) const override;
};
}
diff --git a/paludis/repositories/fake/fake_installed_repository.hh b/paludis/repositories/fake/fake_installed_repository.hh
index 87725315d..a6f8e981c 100644
--- a/paludis/repositories/fake/fake_installed_repository.hh
+++ b/paludis/repositories/fake/fake_installed_repository.hh
@@ -58,13 +58,13 @@ namespace paludis
protected:
/* RepositoryDestinationInterface */
- virtual bool is_suitable_destination_for(const std::shared_ptr<const PackageID> &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ bool is_suitable_destination_for(const std::shared_ptr<const PackageID> &) const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual bool want_pre_post_phases() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ bool want_pre_post_phases() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual void merge(const MergeParams &);
+ void merge(const MergeParams &) override;
public:
///\name Basic operations
@@ -72,24 +72,24 @@ namespace paludis
///\since 0.42
FakeInstalledRepository(const FakeInstalledRepositoryParams &);
- ~FakeInstalledRepository();
+ ~FakeInstalledRepository() override;
///\}
- virtual bool some_ids_might_support_action(const SupportsActionTestBase &) const;
+ bool some_ids_might_support_action(const SupportsActionTestBase &) const override;
- virtual bool some_ids_might_not_be_masked() const;
+ bool some_ids_might_not_be_masked() const override;
- virtual const bool is_unimportant() const;
+ const bool is_unimportant() const override;
/* Keys */
- virtual const std::shared_ptr<const MetadataValueKey<std::string> > format_key() const;
- virtual const std::shared_ptr<const MetadataValueKey<FSPath> > location_key() const;
- virtual const std::shared_ptr<const MetadataValueKey<FSPath> > installed_root_key() const;
- virtual const std::shared_ptr<const MetadataCollectionKey<Map<std::string, std::string> > > sync_host_key() const;
+ const std::shared_ptr<const MetadataValueKey<std::string> > format_key() const override;
+ const std::shared_ptr<const MetadataValueKey<FSPath> > location_key() const override;
+ const std::shared_ptr<const MetadataValueKey<FSPath> > installed_root_key() const override;
+ const std::shared_ptr<const MetadataCollectionKey<Map<std::string, std::string> > > sync_host_key() const override;
- virtual const std::shared_ptr<const Set<std::string> > maybe_expand_licence_nonrecursively(
- const std::string &) const;
+ const std::shared_ptr<const Set<std::string> > maybe_expand_licence_nonrecursively(
+ const std::string &) const override;
///\name RepositoryFactory functions
///\{
diff --git a/paludis/repositories/fake/fake_package_id.hh b/paludis/repositories/fake/fake_package_id.hh
index 2662850e7..07fbb3dbf 100644
--- a/paludis/repositories/fake/fake_package_id.hh
+++ b/paludis/repositories/fake/fake_package_id.hh
@@ -41,17 +41,17 @@ namespace paludis
const std::shared_ptr<const PackageID> &, const Environment * const);
public:
- ~FakeMetadataCollectionKey();
+ ~FakeMetadataCollectionKey() override;
- virtual const std::shared_ptr<const C_> parse_value() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::shared_ptr<const C_> parse_value() const override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::string raw_name() const PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::string human_name() const PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual MetadataKeyType type() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::string raw_name() const override PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::string human_name() const override PALUDIS_ATTRIBUTE((warn_unused_result));
+ MetadataKeyType type() const override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::string pretty_print_value(
+ const std::string pretty_print_value(
const PrettyPrinter &,
- const PrettyPrintOptions &) const PALUDIS_ATTRIBUTE((warn_unused_result));
+ const PrettyPrintOptions &) const override PALUDIS_ATTRIBUTE((warn_unused_result));
};
class PALUDIS_VISIBLE FakeMetadataKeywordSetKey :
@@ -63,9 +63,9 @@ namespace paludis
void set_from_string(const std::string &);
- virtual const std::string pretty_print_value(
+ const std::string pretty_print_value(
const PrettyPrinter &,
- const PrettyPrintOptions &) const PALUDIS_ATTRIBUTE((warn_unused_result));
+ const PrettyPrintOptions &) const override PALUDIS_ATTRIBUTE((warn_unused_result));
};
template <typename C_>
@@ -78,20 +78,20 @@ namespace paludis
public:
FakeMetadataSpecTreeKey(const std::string &, const std::string &, const std::string &,
const std::function<const std::shared_ptr<const C_> (const std::string &)> &, const MetadataKeyType);
- ~FakeMetadataSpecTreeKey();
+ ~FakeMetadataSpecTreeKey() override;
- virtual const std::shared_ptr<const C_> parse_value() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::shared_ptr<const C_> parse_value() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
void set_from_string(const std::string &);
- virtual const std::string raw_name() const PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::string human_name() const PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual MetadataKeyType type() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::string raw_name() const override PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::string human_name() const override PALUDIS_ATTRIBUTE((warn_unused_result));
+ MetadataKeyType type() const override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::string pretty_print_value(
+ const std::string pretty_print_value(
const PrettyPrinter &,
- const PrettyPrintOptions &) const PALUDIS_ATTRIBUTE((warn_unused_result));
+ const PrettyPrintOptions &) const override PALUDIS_ATTRIBUTE((warn_unused_result));
};
template <>
@@ -105,23 +105,23 @@ namespace paludis
FakeMetadataSpecTreeKey(const std::string &, const std::string &, const std::string &,
const std::function<const std::shared_ptr<const FetchableURISpecTree> (const std::string &)> &,
const MetadataKeyType);
- ~FakeMetadataSpecTreeKey();
+ ~FakeMetadataSpecTreeKey() override;
- virtual const std::shared_ptr<const FetchableURISpecTree> parse_value() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::shared_ptr<const FetchableURISpecTree> parse_value() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
void set_from_string(const std::string &);
- virtual const std::shared_ptr<const URILabel> initial_label() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::shared_ptr<const URILabel> initial_label() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::string raw_name() const PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::string human_name() const PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual MetadataKeyType type() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::string raw_name() const override PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::string human_name() const override PALUDIS_ATTRIBUTE((warn_unused_result));
+ MetadataKeyType type() const override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::string pretty_print_value(
+ const std::string pretty_print_value(
const PrettyPrinter &,
- const PrettyPrintOptions &) const PALUDIS_ATTRIBUTE((warn_unused_result));
+ const PrettyPrintOptions &) const override PALUDIS_ATTRIBUTE((warn_unused_result));
};
template <>
@@ -136,23 +136,23 @@ namespace paludis
const std::function<const std::shared_ptr<const DependencySpecTree> (const std::string &)> &,
const std::shared_ptr<const DependenciesLabelSequence> &,
const MetadataKeyType);
- ~FakeMetadataSpecTreeKey();
+ ~FakeMetadataSpecTreeKey() override;
- virtual const std::shared_ptr<const DependencySpecTree> parse_value() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::shared_ptr<const DependencySpecTree> parse_value() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
void set_from_string(const std::string &);
- virtual const std::shared_ptr<const DependenciesLabelSequence> initial_labels() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::shared_ptr<const DependenciesLabelSequence> initial_labels() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::string raw_name() const PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::string human_name() const PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual MetadataKeyType type() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::string raw_name() const override PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::string human_name() const override PALUDIS_ATTRIBUTE((warn_unused_result));
+ MetadataKeyType type() const override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::string pretty_print_value(
+ const std::string pretty_print_value(
const PrettyPrinter &,
- const PrettyPrintOptions &) const PALUDIS_ATTRIBUTE((warn_unused_result));
+ const PrettyPrintOptions &) const override PALUDIS_ATTRIBUTE((warn_unused_result));
};
class PALUDIS_VISIBLE FakeMetadataChoicesKey :
@@ -165,14 +165,14 @@ namespace paludis
FakeMetadataChoicesKey(
const Environment * const,
const std::shared_ptr<const PackageID> &);
- ~FakeMetadataChoicesKey();
+ ~FakeMetadataChoicesKey() override;
void add(const std::string &, const std::string &);
- const std::shared_ptr<const Choices> parse_value() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::shared_ptr<const Choices> parse_value() const override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::string raw_name() const PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::string human_name() const PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual MetadataKeyType type() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::string raw_name() const override PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::string human_name() const override PALUDIS_ATTRIBUTE((warn_unused_result));
+ MetadataKeyType type() const override PALUDIS_ATTRIBUTE((warn_unused_result));
};
class PALUDIS_VISIBLE FakeUnacceptedMask :
@@ -183,11 +183,11 @@ namespace paludis
public:
FakeUnacceptedMask(const char, const std::string &, const std::string &);
- ~FakeUnacceptedMask();
+ ~FakeUnacceptedMask() override;
- char key() const;
- const std::string description() const;
- const std::string unaccepted_key_name() const;
+ char key() const override;
+ const std::string description() const override;
+ const std::string unaccepted_key_name() const override;
};
class PALUDIS_VISIBLE FakeUnsupportedMask :
@@ -195,11 +195,11 @@ namespace paludis
{
public:
FakeUnsupportedMask();
- ~FakeUnsupportedMask();
+ ~FakeUnsupportedMask() override;
- char key() const;
- const std::string description() const;
- const std::string explanation() const;
+ char key() const override;
+ const std::string description() const override;
+ const std::string explanation() const override;
};
/**
@@ -218,8 +218,8 @@ namespace paludis
Pimp<FakePackageID> _imp;
protected:
- virtual void need_keys_added() const;
- virtual void need_masks_added() const;
+ void need_keys_added() const override;
+ void need_masks_added() const override;
public:
///\name Basic operations
@@ -228,34 +228,34 @@ namespace paludis
FakePackageID(const Environment * const e,
const RepositoryName &,
const QualifiedPackageName &, const VersionSpec &);
- ~FakePackageID();
+ ~FakePackageID() override;
///\}
- virtual const std::string canonical_form(const PackageIDCanonicalForm) const;
-
- virtual const QualifiedPackageName name() const;
- virtual const VersionSpec version() const;
- virtual const RepositoryName repository_name() const;
- virtual PackageDepSpec uniquely_identifying_spec() const;
-
- virtual const std::shared_ptr<const MetadataValueKey<Slot> > slot_key() const;
- virtual const std::shared_ptr<const MetadataCollectionKey<KeywordNameSet> > keywords_key() const;
- virtual const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > dependencies_key() const;
- virtual const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > build_dependencies_key() const;
- virtual const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > run_dependencies_key() const;
- virtual const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > post_dependencies_key() const;
- virtual const std::shared_ptr<const MetadataSpecTreeKey<FetchableURISpecTree> > fetches_key() const;
- virtual const std::shared_ptr<const MetadataSpecTreeKey<SimpleURISpecTree> > homepage_key() const;
- virtual const std::shared_ptr<const MetadataValueKey<std::string> > short_description_key() const;
- virtual const std::shared_ptr<const MetadataValueKey<std::string> > long_description_key() const;
- virtual const std::shared_ptr<const MetadataTimeKey> installed_time_key() const;
- virtual const std::shared_ptr<const MetadataValueKey<FSPath> > fs_location_key() const;
+ const std::string canonical_form(const PackageIDCanonicalForm) const override;
+
+ const QualifiedPackageName name() const override;
+ const VersionSpec version() const override;
+ const RepositoryName repository_name() const override;
+ PackageDepSpec uniquely_identifying_spec() const override;
+
+ const std::shared_ptr<const MetadataValueKey<Slot> > slot_key() const override;
+ const std::shared_ptr<const MetadataCollectionKey<KeywordNameSet> > keywords_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > dependencies_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > build_dependencies_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > run_dependencies_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > post_dependencies_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<FetchableURISpecTree> > fetches_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<SimpleURISpecTree> > homepage_key() const override;
+ const std::shared_ptr<const MetadataValueKey<std::string> > short_description_key() const override;
+ const std::shared_ptr<const MetadataValueKey<std::string> > long_description_key() const override;
+ const std::shared_ptr<const MetadataTimeKey> installed_time_key() const override;
+ const std::shared_ptr<const MetadataValueKey<FSPath> > fs_location_key() const override;
virtual const std::shared_ptr<const MetadataValueKey<long> > size_of_download_required_key() const;
virtual const std::shared_ptr<const MetadataValueKey<long> > size_of_all_distfiles_key() const;
- virtual const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > behaviours_key() const;
- virtual const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > from_repositories_key() const;
- virtual const std::shared_ptr<const MetadataValueKey<std::shared_ptr<const Choices> > > choices_key() const;
+ const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > behaviours_key() const override;
+ const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > from_repositories_key() const override;
+ const std::shared_ptr<const MetadataValueKey<std::shared_ptr<const Choices> > > choices_key() const override;
const std::shared_ptr<const MetadataSpecTreeKey<LicenseSpecTree> > license_key() const;
@@ -279,13 +279,13 @@ namespace paludis
char use_expand_separator() const;
- virtual bool arbitrary_less_than_comparison(const PackageID &) const;
- virtual std::size_t extra_hash_value() const;
+ bool arbitrary_less_than_comparison(const PackageID &) const override;
+ std::size_t extra_hash_value() const override;
- virtual bool supports_action(const SupportsActionTestBase &) const PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual void perform_action(Action &) const;
+ bool supports_action(const SupportsActionTestBase &) const override PALUDIS_ATTRIBUTE((warn_unused_result));
+ void perform_action(Action &) const override;
- virtual const std::shared_ptr<const Contents> contents() const;
+ const std::shared_ptr<const Contents> contents() const override;
};
}
diff --git a/paludis/repositories/fake/fake_repository.hh b/paludis/repositories/fake/fake_repository.hh
index 9c8abeb39..a45c8eb3f 100644
--- a/paludis/repositories/fake/fake_repository.hh
+++ b/paludis/repositories/fake/fake_repository.hh
@@ -63,25 +63,25 @@ namespace paludis
///\since 0.26
FakeRepository(const FakeRepositoryParams &);
- ~FakeRepository();
+ ~FakeRepository() override;
///\}
- virtual bool some_ids_might_support_action(const SupportsActionTestBase &) const;
+ bool some_ids_might_support_action(const SupportsActionTestBase &) const override;
- virtual bool some_ids_might_not_be_masked() const;
+ bool some_ids_might_not_be_masked() const override;
- virtual const bool is_unimportant() const;
+ const bool is_unimportant() const override;
- virtual const std::shared_ptr<const Set<std::string> > maybe_expand_licence_nonrecursively(
- const std::string &) const;
+ const std::shared_ptr<const Set<std::string> > maybe_expand_licence_nonrecursively(
+ const std::string &) const override;
/* Keys */
- virtual const std::shared_ptr<const MetadataValueKey<std::string> > format_key() const;
- virtual const std::shared_ptr<const MetadataValueKey<FSPath> > location_key() const;
- virtual const std::shared_ptr<const MetadataValueKey<FSPath> > installed_root_key() const;
- virtual const std::shared_ptr<const MetadataCollectionKey<Map<std::string, std::string> > > sync_host_key() const;
+ const std::shared_ptr<const MetadataValueKey<std::string> > format_key() const override;
+ const std::shared_ptr<const MetadataValueKey<FSPath> > location_key() const override;
+ const std::shared_ptr<const MetadataValueKey<FSPath> > installed_root_key() const override;
+ const std::shared_ptr<const MetadataCollectionKey<Map<std::string, std::string> > > sync_host_key() const override;
};
}
diff --git a/paludis/repositories/fake/fake_repository_base.hh b/paludis/repositories/fake/fake_repository_base.hh
index f1b056791..b94636357 100644
--- a/paludis/repositories/fake/fake_repository_base.hh
+++ b/paludis/repositories/fake/fake_repository_base.hh
@@ -56,13 +56,13 @@ namespace paludis
FakeRepositoryBase(const Environment * const env, const RepositoryName & name,
const RepositoryCapabilities & caps);
- virtual void need_keys_added() const;
+ void need_keys_added() const override;
public:
/**
* Destructor.
*/
- ~FakeRepositoryBase();
+ ~FakeRepositoryBase() override;
/**
* Add a category.
@@ -88,7 +88,7 @@ namespace paludis
std::shared_ptr<FakePackageID> add_version(const std::string & c, const std::string & p,
const std::string & v);
- virtual void invalidate();
+ void invalidate() override;
/**
* Fetch our associated environment.
@@ -97,33 +97,33 @@ namespace paludis
/* Repository */
- virtual std::shared_ptr<const PackageIDSequence> package_ids(
+ std::shared_ptr<const PackageIDSequence> package_ids(
const QualifiedPackageName &, const RepositoryContentMayExcludes &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::shared_ptr<const QualifiedPackageNameSet> package_names(
+ std::shared_ptr<const QualifiedPackageNameSet> package_names(
const CategoryNamePart &, const RepositoryContentMayExcludes &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::shared_ptr<const CategoryNamePartSet> category_names(const RepositoryContentMayExcludes &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ std::shared_ptr<const CategoryNamePartSet> category_names(const RepositoryContentMayExcludes &) const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual bool has_package_named(const QualifiedPackageName &, const RepositoryContentMayExcludes &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ bool has_package_named(const QualifiedPackageName &, const RepositoryContentMayExcludes &) const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual bool has_category_named(const CategoryNamePart &, const RepositoryContentMayExcludes &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ bool has_category_named(const CategoryNamePart &, const RepositoryContentMayExcludes &) const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual bool sync(const std::string &, const std::string &, const std::shared_ptr<OutputManager> &) const;
+ bool sync(const std::string &, const std::string &, const std::shared_ptr<OutputManager> &) const override;
///\name Set methods
///\{
- virtual void populate_sets() const;
+ void populate_sets() const override;
///\}
- virtual HookResult perform_hook(const Hook & hook, const std::shared_ptr<OutputManager> &);
+ HookResult perform_hook(const Hook & hook, const std::shared_ptr<OutputManager> &) override;
};
}
diff --git a/paludis/repositories/repository/repository_id.hh b/paludis/repositories/repository/repository_id.hh
index 600fb8754..e31dda372 100644
--- a/paludis/repositories/repository/repository_id.hh
+++ b/paludis/repositories/repository/repository_id.hh
@@ -50,49 +50,49 @@ namespace paludis
Pimp<RepositoryID> _imp;
protected:
- void need_keys_added() const;
- void need_masks_added() const;
+ void need_keys_added() const override;
+ void need_masks_added() const override;
public:
RepositoryID(const RepositoryIDParams &);
- ~RepositoryID();
+ ~RepositoryID() override;
- const std::string canonical_form(const PackageIDCanonicalForm) const;
- const QualifiedPackageName name() const;
- const VersionSpec version() const;
- const RepositoryName repository_name() const;
- virtual PackageDepSpec uniquely_identifying_spec() const;
+ const std::string canonical_form(const PackageIDCanonicalForm) const override;
+ const QualifiedPackageName name() const override;
+ const VersionSpec version() const override;
+ const RepositoryName repository_name() const override;
+ PackageDepSpec uniquely_identifying_spec() const override;
- const std::shared_ptr<const MetadataValueKey<Slot> > slot_key() const;
- const std::shared_ptr<const MetadataCollectionKey<KeywordNameSet> > keywords_key() const;
+ const std::shared_ptr<const MetadataValueKey<Slot> > slot_key() const override;
+ const std::shared_ptr<const MetadataCollectionKey<KeywordNameSet> > keywords_key() const override;
const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> >
- dependencies_key() const;
+ dependencies_key() const override;
const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> >
- build_dependencies_key() const;
+ build_dependencies_key() const override;
const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> >
- run_dependencies_key() const;
+ run_dependencies_key() const override;
const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> >
- post_dependencies_key() const;
- const std::shared_ptr<const MetadataSpecTreeKey<FetchableURISpecTree> > fetches_key() const;
- const std::shared_ptr<const MetadataSpecTreeKey<SimpleURISpecTree> > homepage_key() const;
- const std::shared_ptr<const MetadataValueKey<std::string> > short_description_key() const;
- const std::shared_ptr<const MetadataValueKey<std::string> > long_description_key() const;
- const std::shared_ptr<const MetadataTimeKey> installed_time_key() const;
- const std::shared_ptr<const MetadataValueKey<FSPath> > fs_location_key() const;
- const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > behaviours_key() const;
- const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > from_repositories_key() const;
- const std::shared_ptr<const MetadataValueKey<std::shared_ptr<const Choices> > > choices_key() const;
+ post_dependencies_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<FetchableURISpecTree> > fetches_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<SimpleURISpecTree> > homepage_key() const override;
+ const std::shared_ptr<const MetadataValueKey<std::string> > short_description_key() const override;
+ const std::shared_ptr<const MetadataValueKey<std::string> > long_description_key() const override;
+ const std::shared_ptr<const MetadataTimeKey> installed_time_key() const override;
+ const std::shared_ptr<const MetadataValueKey<FSPath> > fs_location_key() const override;
+ const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > behaviours_key() const override;
+ const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > from_repositories_key() const override;
+ const std::shared_ptr<const MetadataValueKey<std::shared_ptr<const Choices> > > choices_key() const override;
bool supports_action(const SupportsActionTestBase &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
- void perform_action(Action &) const PALUDIS_ATTRIBUTE((noreturn));
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
+ void perform_action(Action &) const override PALUDIS_ATTRIBUTE((noreturn));
bool arbitrary_less_than_comparison(const PackageID &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
std::size_t extra_hash_value() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::shared_ptr<const Contents> contents() const;
+ const std::shared_ptr<const Contents> contents() const override;
};
}
}
diff --git a/paludis/repositories/repository/repository_repository.hh b/paludis/repositories/repository/repository_repository.hh
index 020d13e6a..41acbd2ac 100644
--- a/paludis/repositories/repository/repository_repository.hh
+++ b/paludis/repositories/repository/repository_repository.hh
@@ -65,45 +65,45 @@ namespace paludis
void _add_metadata_keys();
protected:
- virtual void need_keys_added() const;
+ void need_keys_added() const override;
public:
RepositoryRepository(const RepositoryRepositoryParams &);
- ~RepositoryRepository();
+ ~RepositoryRepository() override;
- virtual const bool is_unimportant() const;
+ const bool is_unimportant() const override;
- virtual const std::shared_ptr<const MetadataValueKey<std::string> > format_key() const;
- virtual const std::shared_ptr<const MetadataValueKey<FSPath> > location_key() const;
- virtual const std::shared_ptr<const MetadataValueKey<FSPath> > installed_root_key() const;
- virtual const std::shared_ptr<const MetadataCollectionKey<Map<std::string, std::string> > > sync_host_key() const;
+ const std::shared_ptr<const MetadataValueKey<std::string> > format_key() const override;
+ const std::shared_ptr<const MetadataValueKey<FSPath> > location_key() const override;
+ const std::shared_ptr<const MetadataValueKey<FSPath> > installed_root_key() const override;
+ const std::shared_ptr<const MetadataCollectionKey<Map<std::string, std::string> > > sync_host_key() const override;
- virtual bool has_category_named(const CategoryNamePart & c, const RepositoryContentMayExcludes &) const;
- virtual bool has_package_named(const QualifiedPackageName & q, const RepositoryContentMayExcludes &) const;
- virtual std::shared_ptr<const CategoryNamePartSet> category_names(const RepositoryContentMayExcludes &) const;
- virtual std::shared_ptr<const CategoryNamePartSet> unimportant_category_names(const RepositoryContentMayExcludes &) const;
- virtual std::shared_ptr<const CategoryNamePartSet> category_names_containing_package(
- const PackageNamePart & p, const RepositoryContentMayExcludes &) const;
- virtual std::shared_ptr<const QualifiedPackageNameSet> package_names(
- const CategoryNamePart & c, const RepositoryContentMayExcludes &) const;
- virtual std::shared_ptr<const PackageIDSequence> package_ids(const QualifiedPackageName & p, const RepositoryContentMayExcludes &) const;
+ bool has_category_named(const CategoryNamePart & c, const RepositoryContentMayExcludes &) const override;
+ bool has_package_named(const QualifiedPackageName & q, const RepositoryContentMayExcludes &) const override;
+ std::shared_ptr<const CategoryNamePartSet> category_names(const RepositoryContentMayExcludes &) const override;
+ std::shared_ptr<const CategoryNamePartSet> unimportant_category_names(const RepositoryContentMayExcludes &) const override;
+ std::shared_ptr<const CategoryNamePartSet> category_names_containing_package(
+ const PackageNamePart & p, const RepositoryContentMayExcludes &) const override;
+ std::shared_ptr<const QualifiedPackageNameSet> package_names(
+ const CategoryNamePart & c, const RepositoryContentMayExcludes &) const override;
+ std::shared_ptr<const PackageIDSequence> package_ids(const QualifiedPackageName & p, const RepositoryContentMayExcludes &) const override;
- virtual bool some_ids_might_support_action(const SupportsActionTestBase &) const;
- virtual bool some_ids_might_not_be_masked() const;
- virtual void invalidate();
+ bool some_ids_might_support_action(const SupportsActionTestBase &) const override;
+ bool some_ids_might_not_be_masked() const override;
+ void invalidate() override;
- virtual bool sync(const std::string &, const std::string &, const std::shared_ptr<OutputManager> &) const;
+ bool sync(const std::string &, const std::string &, const std::shared_ptr<OutputManager> &) const override;
- virtual bool is_suitable_destination_for(const std::shared_ptr<const PackageID> &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ bool is_suitable_destination_for(const std::shared_ptr<const PackageID> &) const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual bool want_pre_post_phases() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ bool want_pre_post_phases() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual void merge(const MergeParams &);
+ void merge(const MergeParams &) override;
- virtual const std::shared_ptr<const Set<std::string> > maybe_expand_licence_nonrecursively(
- const std::string &) const;
+ const std::shared_ptr<const Set<std::string> > maybe_expand_licence_nonrecursively(
+ const std::string &) const override;
///\name RepositoryFactory functions
///\{
@@ -125,11 +125,11 @@ namespace paludis
///\name Set methods
///\{
- virtual void populate_sets() const;
+ void populate_sets() const override;
///\}
- virtual HookResult perform_hook(const Hook & hook, const std::shared_ptr<OutputManager> &);
+ HookResult perform_hook(const Hook & hook, const std::shared_ptr<OutputManager> &) override;
};
}
diff --git a/paludis/repositories/unavailable/unavailable_mask.hh b/paludis/repositories/unavailable/unavailable_mask.hh
index f5cae389f..d4d5ef360 100644
--- a/paludis/repositories/unavailable/unavailable_mask.hh
+++ b/paludis/repositories/unavailable/unavailable_mask.hh
@@ -30,27 +30,27 @@ namespace paludis
public UnsupportedMask
{
public:
- virtual const std::string explanation() const;
- virtual char key() const;
- virtual const std::string description() const;
+ const std::string explanation() const override;
+ char key() const override;
+ const std::string description() const override;
};
class NoConfigurationInformationMask :
public UnsupportedMask
{
public:
- virtual const std::string explanation() const;
- virtual char key() const;
- virtual const std::string description() const;
+ const std::string explanation() const override;
+ char key() const override;
+ const std::string description() const override;
};
class AlreadyConfiguredMask :
public UnsupportedMask
{
public:
- virtual const std::string explanation() const;
- virtual char key() const;
- virtual const std::string description() const;
+ const std::string explanation() const override;
+ char key() const override;
+ const std::string description() const override;
};
}
}
diff --git a/paludis/repositories/unavailable/unavailable_package_id.hh b/paludis/repositories/unavailable/unavailable_package_id.hh
index 196a1e994..1c28392f7 100644
--- a/paludis/repositories/unavailable/unavailable_package_id.hh
+++ b/paludis/repositories/unavailable/unavailable_package_id.hh
@@ -64,49 +64,49 @@ namespace paludis
Pimp<UnavailablePackageID> _imp;
protected:
- void need_keys_added() const;
- void need_masks_added() const;
+ void need_keys_added() const override;
+ void need_masks_added() const override;
public:
UnavailablePackageID(const UnavailablePackageIDParams &);
- ~UnavailablePackageID();
+ ~UnavailablePackageID() override;
- const std::string canonical_form(const PackageIDCanonicalForm) const;
- const QualifiedPackageName name() const;
- const VersionSpec version() const;
- const RepositoryName repository_name() const;
- virtual PackageDepSpec uniquely_identifying_spec() const;
+ const std::string canonical_form(const PackageIDCanonicalForm) const override;
+ const QualifiedPackageName name() const override;
+ const VersionSpec version() const override;
+ const RepositoryName repository_name() const override;
+ PackageDepSpec uniquely_identifying_spec() const override;
- const std::shared_ptr<const MetadataValueKey<Slot> > slot_key() const;
- const std::shared_ptr<const MetadataCollectionKey<KeywordNameSet> > keywords_key() const;
+ const std::shared_ptr<const MetadataValueKey<Slot> > slot_key() const override;
+ const std::shared_ptr<const MetadataCollectionKey<KeywordNameSet> > keywords_key() const override;
const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> >
- dependencies_key() const;
+ dependencies_key() const override;
const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> >
- build_dependencies_key() const;
+ build_dependencies_key() const override;
const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> >
- run_dependencies_key() const;
+ run_dependencies_key() const override;
const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> >
- post_dependencies_key() const;
- const std::shared_ptr<const MetadataSpecTreeKey<FetchableURISpecTree> > fetches_key() const;
- const std::shared_ptr<const MetadataSpecTreeKey<SimpleURISpecTree> > homepage_key() const;
- const std::shared_ptr<const MetadataValueKey<std::string> > short_description_key() const;
- const std::shared_ptr<const MetadataValueKey<std::string> > long_description_key() const;
- const std::shared_ptr<const MetadataTimeKey> installed_time_key() const;
- const std::shared_ptr<const MetadataValueKey<FSPath> > fs_location_key() const;
- const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > behaviours_key() const;
- const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > from_repositories_key() const;
- const std::shared_ptr<const MetadataValueKey<std::shared_ptr<const Choices> > > choices_key() const;
+ post_dependencies_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<FetchableURISpecTree> > fetches_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<SimpleURISpecTree> > homepage_key() const override;
+ const std::shared_ptr<const MetadataValueKey<std::string> > short_description_key() const override;
+ const std::shared_ptr<const MetadataValueKey<std::string> > long_description_key() const override;
+ const std::shared_ptr<const MetadataTimeKey> installed_time_key() const override;
+ const std::shared_ptr<const MetadataValueKey<FSPath> > fs_location_key() const override;
+ const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > behaviours_key() const override;
+ const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > from_repositories_key() const override;
+ const std::shared_ptr<const MetadataValueKey<std::shared_ptr<const Choices> > > choices_key() const override;
bool supports_action(const SupportsActionTestBase &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
- void perform_action(Action &) const PALUDIS_ATTRIBUTE((noreturn));
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
+ void perform_action(Action &) const override PALUDIS_ATTRIBUTE((noreturn));
bool arbitrary_less_than_comparison(const PackageID &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
std::size_t extra_hash_value() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::shared_ptr<const Contents> contents() const;
+ const std::shared_ptr<const Contents> contents() const override;
};
}
}
diff --git a/paludis/repositories/unavailable/unavailable_repository.hh b/paludis/repositories/unavailable/unavailable_repository.hh
index bc796e4da..737a42cfd 100644
--- a/paludis/repositories/unavailable/unavailable_repository.hh
+++ b/paludis/repositories/unavailable/unavailable_repository.hh
@@ -64,37 +64,37 @@ namespace paludis
void _add_metadata_keys();
protected:
- virtual void need_keys_added() const;
+ void need_keys_added() const override;
public:
UnavailableRepository(const UnavailableRepositoryParams &);
- ~UnavailableRepository();
+ ~UnavailableRepository() override;
- virtual const bool is_unimportant() const;
+ const bool is_unimportant() const override;
- virtual const std::shared_ptr<const MetadataValueKey<std::string> > format_key() const;
- virtual const std::shared_ptr<const MetadataValueKey<FSPath> > location_key() const;
- virtual const std::shared_ptr<const MetadataValueKey<FSPath> > installed_root_key() const;
- virtual const std::shared_ptr<const MetadataCollectionKey<Map<std::string, std::string> > > sync_host_key() const;
+ const std::shared_ptr<const MetadataValueKey<std::string> > format_key() const override;
+ const std::shared_ptr<const MetadataValueKey<FSPath> > location_key() const override;
+ const std::shared_ptr<const MetadataValueKey<FSPath> > installed_root_key() const override;
+ const std::shared_ptr<const MetadataCollectionKey<Map<std::string, std::string> > > sync_host_key() const override;
- virtual bool has_category_named(const CategoryNamePart & c, const RepositoryContentMayExcludes &) const;
- virtual bool has_package_named(const QualifiedPackageName & q, const RepositoryContentMayExcludes &) const;
- virtual std::shared_ptr<const CategoryNamePartSet> category_names(const RepositoryContentMayExcludes &) const;
- virtual std::shared_ptr<const CategoryNamePartSet> unimportant_category_names(const RepositoryContentMayExcludes &) const;
- virtual std::shared_ptr<const CategoryNamePartSet> category_names_containing_package(
- const PackageNamePart & p, const RepositoryContentMayExcludes &) const;
- virtual std::shared_ptr<const QualifiedPackageNameSet> package_names(
- const CategoryNamePart & c, const RepositoryContentMayExcludes &) const;
- virtual std::shared_ptr<const PackageIDSequence> package_ids(const QualifiedPackageName & p, const RepositoryContentMayExcludes &) const;
+ bool has_category_named(const CategoryNamePart & c, const RepositoryContentMayExcludes &) const override;
+ bool has_package_named(const QualifiedPackageName & q, const RepositoryContentMayExcludes &) const override;
+ std::shared_ptr<const CategoryNamePartSet> category_names(const RepositoryContentMayExcludes &) const override;
+ std::shared_ptr<const CategoryNamePartSet> unimportant_category_names(const RepositoryContentMayExcludes &) const override;
+ std::shared_ptr<const CategoryNamePartSet> category_names_containing_package(
+ const PackageNamePart & p, const RepositoryContentMayExcludes &) const override;
+ std::shared_ptr<const QualifiedPackageNameSet> package_names(
+ const CategoryNamePart & c, const RepositoryContentMayExcludes &) const override;
+ std::shared_ptr<const PackageIDSequence> package_ids(const QualifiedPackageName & p, const RepositoryContentMayExcludes &) const override;
- virtual bool some_ids_might_support_action(const SupportsActionTestBase &) const;
- virtual bool some_ids_might_not_be_masked() const;
- virtual void invalidate();
+ bool some_ids_might_support_action(const SupportsActionTestBase &) const override;
+ bool some_ids_might_not_be_masked() const override;
+ void invalidate() override;
- virtual bool sync(const std::string &, const std::string &, const std::shared_ptr<OutputManager> &) const;
+ bool sync(const std::string &, const std::string &, const std::shared_ptr<OutputManager> &) const override;
- virtual const std::shared_ptr<const Set<std::string> > maybe_expand_licence_nonrecursively(
- const std::string &) const;
+ const std::shared_ptr<const Set<std::string> > maybe_expand_licence_nonrecursively(
+ const std::string &) const override;
///\name RepositoryFactory functions
///\{
@@ -116,11 +116,11 @@ namespace paludis
///\name Set methods
///\{
- virtual void populate_sets() const;
+ void populate_sets() const override;
///\}
- virtual HookResult perform_hook(const Hook & hook, const std::shared_ptr<OutputManager> &);
+ HookResult perform_hook(const Hook & hook, const std::shared_ptr<OutputManager> &) override;
};
}
diff --git a/paludis/repositories/unavailable/unavailable_repository_dependencies_key.hh b/paludis/repositories/unavailable/unavailable_repository_dependencies_key.hh
index 45ea6b46a..388324591 100644
--- a/paludis/repositories/unavailable/unavailable_repository_dependencies_key.hh
+++ b/paludis/repositories/unavailable/unavailable_repository_dependencies_key.hh
@@ -38,20 +38,20 @@ namespace paludis
const Environment * const env,
const std::string & r, const std::string & h, const MetadataKeyType t,
const std::string & v);
- ~UnavailableRepositoryDependenciesKey();
+ ~UnavailableRepositoryDependenciesKey() override;
- const std::shared_ptr<const DependencySpecTree> parse_value() const;
+ const std::shared_ptr<const DependencySpecTree> parse_value() const override;
- virtual const std::shared_ptr<const DependenciesLabelSequence> initial_labels() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::shared_ptr<const DependenciesLabelSequence> initial_labels() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::string raw_name() const PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::string human_name() const PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual MetadataKeyType type() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::string raw_name() const override PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::string human_name() const override PALUDIS_ATTRIBUTE((warn_unused_result));
+ MetadataKeyType type() const override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::string pretty_print_value(
+ const std::string pretty_print_value(
const PrettyPrinter &,
- const PrettyPrintOptions &) const PALUDIS_ATTRIBUTE((warn_unused_result));
+ const PrettyPrintOptions &) const override PALUDIS_ATTRIBUTE((warn_unused_result));
};
}
}
diff --git a/paludis/repositories/unavailable/unavailable_repository_id.hh b/paludis/repositories/unavailable/unavailable_repository_id.hh
index e947f54db..08c70914c 100644
--- a/paludis/repositories/unavailable/unavailable_repository_id.hh
+++ b/paludis/repositories/unavailable/unavailable_repository_id.hh
@@ -64,49 +64,49 @@ namespace paludis
Pimp<UnavailableRepositoryID> _imp;
protected:
- void need_keys_added() const;
- void need_masks_added() const;
+ void need_keys_added() const override;
+ void need_masks_added() const override;
public:
UnavailableRepositoryID(const UnavailableRepositoryIDParams &);
- ~UnavailableRepositoryID();
+ ~UnavailableRepositoryID() override;
- const std::string canonical_form(const PackageIDCanonicalForm) const;
- const QualifiedPackageName name() const;
- const VersionSpec version() const;
- const RepositoryName repository_name() const;
- virtual PackageDepSpec uniquely_identifying_spec() const;
+ const std::string canonical_form(const PackageIDCanonicalForm) const override;
+ const QualifiedPackageName name() const override;
+ const VersionSpec version() const override;
+ const RepositoryName repository_name() const override;
+ PackageDepSpec uniquely_identifying_spec() const override;
- const std::shared_ptr<const MetadataValueKey<Slot> > slot_key() const;
- const std::shared_ptr<const MetadataCollectionKey<KeywordNameSet> > keywords_key() const;
+ const std::shared_ptr<const MetadataValueKey<Slot> > slot_key() const override;
+ const std::shared_ptr<const MetadataCollectionKey<KeywordNameSet> > keywords_key() const override;
const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> >
- dependencies_key() const;
+ dependencies_key() const override;
const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> >
- build_dependencies_key() const;
+ build_dependencies_key() const override;
const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> >
- run_dependencies_key() const;
+ run_dependencies_key() const override;
const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> >
- post_dependencies_key() const;
- const std::shared_ptr<const MetadataSpecTreeKey<FetchableURISpecTree> > fetches_key() const;
- const std::shared_ptr<const MetadataSpecTreeKey<SimpleURISpecTree> > homepage_key() const;
- const std::shared_ptr<const MetadataValueKey<std::string> > short_description_key() const;
- const std::shared_ptr<const MetadataValueKey<std::string> > long_description_key() const;
- const std::shared_ptr<const MetadataTimeKey> installed_time_key() const;
- const std::shared_ptr<const MetadataValueKey<FSPath> > fs_location_key() const;
- const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > behaviours_key() const;
- const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > from_repositories_key() const;
- const std::shared_ptr<const MetadataValueKey<std::shared_ptr<const Choices> > > choices_key() const;
+ post_dependencies_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<FetchableURISpecTree> > fetches_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<SimpleURISpecTree> > homepage_key() const override;
+ const std::shared_ptr<const MetadataValueKey<std::string> > short_description_key() const override;
+ const std::shared_ptr<const MetadataValueKey<std::string> > long_description_key() const override;
+ const std::shared_ptr<const MetadataTimeKey> installed_time_key() const override;
+ const std::shared_ptr<const MetadataValueKey<FSPath> > fs_location_key() const override;
+ const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > behaviours_key() const override;
+ const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > from_repositories_key() const override;
+ const std::shared_ptr<const MetadataValueKey<std::shared_ptr<const Choices> > > choices_key() const override;
bool supports_action(const SupportsActionTestBase &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
- void perform_action(Action &) const;
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
+ void perform_action(Action &) const override;
bool arbitrary_less_than_comparison(const PackageID &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
std::size_t extra_hash_value() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::shared_ptr<const Contents> contents() const;
+ const std::shared_ptr<const Contents> contents() const override;
};
}
}
diff --git a/paludis/repositories/unpackaged/installed_id.hh b/paludis/repositories/unpackaged/installed_id.hh
index 8a357710d..32acac404 100644
--- a/paludis/repositories/unpackaged/installed_id.hh
+++ b/paludis/repositories/unpackaged/installed_id.hh
@@ -40,52 +40,52 @@ namespace paludis
Pimp<InstalledUnpackagedID> _imp;
protected:
- void need_keys_added() const;
- void need_masks_added() const;
+ void need_keys_added() const override;
+ void need_masks_added() const override;
public:
InstalledUnpackagedID(const Environment * const, const QualifiedPackageName &, const VersionSpec &,
const SlotName &, const RepositoryName &, const FSPath &, const std::string &, const FSPath &,
const NDBAM * const);
- ~InstalledUnpackagedID();
+ ~InstalledUnpackagedID() override;
- virtual const std::string canonical_form(const PackageIDCanonicalForm) const;
- virtual const QualifiedPackageName name() const;
- virtual const VersionSpec version() const;
- virtual const RepositoryName repository_name() const;
- virtual PackageDepSpec uniquely_identifying_spec() const;
+ const std::string canonical_form(const PackageIDCanonicalForm) const override;
+ const QualifiedPackageName name() const override;
+ const VersionSpec version() const override;
+ const RepositoryName repository_name() const override;
+ PackageDepSpec uniquely_identifying_spec() const override;
- virtual const std::shared_ptr<const MetadataValueKey<Slot> > slot_key() const;
- virtual const std::shared_ptr<const MetadataCollectionKey<KeywordNameSet> > keywords_key() const;
- virtual const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > dependencies_key() const;
- virtual const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > build_dependencies_key() const;
- virtual const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > run_dependencies_key() const;
- virtual const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > post_dependencies_key() const;
- virtual const std::shared_ptr<const MetadataSpecTreeKey<FetchableURISpecTree> > fetches_key() const;
- virtual const std::shared_ptr<const MetadataSpecTreeKey<SimpleURISpecTree> > homepage_key() const;
- virtual const std::shared_ptr<const MetadataValueKey<std::string> > short_description_key() const;
- virtual const std::shared_ptr<const MetadataValueKey<std::string> > long_description_key() const;
- virtual const std::shared_ptr<const MetadataTimeKey> installed_time_key() const;
- virtual const std::shared_ptr<const MetadataValueKey<FSPath> > fs_location_key() const;
- virtual const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > behaviours_key() const;
- virtual const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > from_repositories_key() const;
- virtual const std::shared_ptr<const MetadataValueKey<std::shared_ptr<const Choices> > > choices_key() const;
+ const std::shared_ptr<const MetadataValueKey<Slot> > slot_key() const override;
+ const std::shared_ptr<const MetadataCollectionKey<KeywordNameSet> > keywords_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > dependencies_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > build_dependencies_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > run_dependencies_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > post_dependencies_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<FetchableURISpecTree> > fetches_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<SimpleURISpecTree> > homepage_key() const override;
+ const std::shared_ptr<const MetadataValueKey<std::string> > short_description_key() const override;
+ const std::shared_ptr<const MetadataValueKey<std::string> > long_description_key() const override;
+ const std::shared_ptr<const MetadataTimeKey> installed_time_key() const override;
+ const std::shared_ptr<const MetadataValueKey<FSPath> > fs_location_key() const override;
+ const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > behaviours_key() const override;
+ const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > from_repositories_key() const override;
+ const std::shared_ptr<const MetadataValueKey<std::shared_ptr<const Choices> > > choices_key() const override;
- virtual bool supports_action(const SupportsActionTestBase &) const PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual void perform_action(Action &) const;
+ bool supports_action(const SupportsActionTestBase &) const override PALUDIS_ATTRIBUTE((warn_unused_result));
+ void perform_action(Action &) const override;
- virtual bool arbitrary_less_than_comparison(const PackageID &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::size_t extra_hash_value() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ bool arbitrary_less_than_comparison(const PackageID &) const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
+ std::size_t extra_hash_value() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
void uninstall(
const bool replace,
const std::shared_ptr<const PackageID> & if_for_install_id,
const std::shared_ptr<OutputManager> & output_manager) const;
- virtual const std::shared_ptr<const Contents> contents() const;
+ const std::shared_ptr<const Contents> contents() const override;
};
}
}
diff --git a/paludis/repositories/unpackaged/installed_repository.hh b/paludis/repositories/unpackaged/installed_repository.hh
index d8c7e6ead..e3e6ef61c 100644
--- a/paludis/repositories/unpackaged/installed_repository.hh
+++ b/paludis/repositories/unpackaged/installed_repository.hh
@@ -54,63 +54,63 @@ namespace paludis
void _add_metadata_keys() const;
protected:
- virtual void need_keys_added() const;
+ void need_keys_added() const override;
public:
InstalledUnpackagedRepository(
const RepositoryName &,
const unpackaged_repositories::InstalledUnpackagedRepositoryParams &);
- ~InstalledUnpackagedRepository();
+ ~InstalledUnpackagedRepository() override;
- virtual void invalidate();
+ void invalidate() override;
- virtual bool is_suitable_destination_for(const std::shared_ptr<const PackageID> &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ bool is_suitable_destination_for(const std::shared_ptr<const PackageID> &) const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual bool want_pre_post_phases() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ bool want_pre_post_phases() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual void merge(const MergeParams &);
+ void merge(const MergeParams &) override;
void deindex(const QualifiedPackageName &) const;
- virtual std::shared_ptr<const PackageIDSequence> package_ids(
+ std::shared_ptr<const PackageIDSequence> package_ids(
const QualifiedPackageName &, const RepositoryContentMayExcludes &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::shared_ptr<const QualifiedPackageNameSet> package_names(
+ std::shared_ptr<const QualifiedPackageNameSet> package_names(
const CategoryNamePart &, const RepositoryContentMayExcludes &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::shared_ptr<const CategoryNamePartSet> category_names(const RepositoryContentMayExcludes &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ std::shared_ptr<const CategoryNamePartSet> category_names(const RepositoryContentMayExcludes &) const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::shared_ptr<const CategoryNamePartSet> category_names_containing_package(
+ std::shared_ptr<const CategoryNamePartSet> category_names_containing_package(
const PackageNamePart &, const RepositoryContentMayExcludes &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual bool has_package_named(const QualifiedPackageName &, const RepositoryContentMayExcludes &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ bool has_package_named(const QualifiedPackageName &, const RepositoryContentMayExcludes &) const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual bool has_category_named(const CategoryNamePart &, const RepositoryContentMayExcludes &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ bool has_category_named(const CategoryNamePart &, const RepositoryContentMayExcludes &) const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual bool some_ids_might_support_action(const SupportsActionTestBase &) const;
+ bool some_ids_might_support_action(const SupportsActionTestBase &) const override;
- virtual bool some_ids_might_not_be_masked() const;
+ bool some_ids_might_not_be_masked() const override;
- virtual const bool is_unimportant() const;
+ const bool is_unimportant() const override;
- virtual const std::shared_ptr<const Set<std::string> > maybe_expand_licence_nonrecursively(
- const std::string &) const;
+ const std::shared_ptr<const Set<std::string> > maybe_expand_licence_nonrecursively(
+ const std::string &) const override;
/* Keys */
- virtual const std::shared_ptr<const MetadataValueKey<std::string> > format_key() const;
- virtual const std::shared_ptr<const MetadataValueKey<FSPath> > location_key() const;
- virtual const std::shared_ptr<const MetadataValueKey<FSPath> > installed_root_key() const;
- virtual const std::shared_ptr<const MetadataCollectionKey<Map<std::string, std::string> > > sync_host_key() const;
+ const std::shared_ptr<const MetadataValueKey<std::string> > format_key() const override;
+ const std::shared_ptr<const MetadataValueKey<FSPath> > location_key() const override;
+ const std::shared_ptr<const MetadataValueKey<FSPath> > installed_root_key() const override;
+ const std::shared_ptr<const MetadataCollectionKey<Map<std::string, std::string> > > sync_host_key() const override;
///\name RepositoryFactory functions
///\{
@@ -132,14 +132,14 @@ namespace paludis
///\name Set methods
///\{
- virtual void populate_sets() const;
+ void populate_sets() const override;
///\}
- virtual HookResult perform_hook(const Hook & hook, const std::shared_ptr<OutputManager> &)
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ HookResult perform_hook(const Hook & hook, const std::shared_ptr<OutputManager> &)
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual bool sync(const std::string &, const std::string &, const std::shared_ptr<OutputManager> &) const;
+ bool sync(const std::string &, const std::string &, const std::shared_ptr<OutputManager> &) const override;
};
}
diff --git a/paludis/repositories/unpackaged/unpackaged_id.hh b/paludis/repositories/unpackaged/unpackaged_id.hh
index 1c0097df5..324b20066 100644
--- a/paludis/repositories/unpackaged/unpackaged_id.hh
+++ b/paludis/repositories/unpackaged/unpackaged_id.hh
@@ -38,8 +38,8 @@ namespace paludis
Pimp<UnpackagedID> _imp;
protected:
- void need_keys_added() const;
- void need_masks_added() const;
+ void need_keys_added() const override;
+ void need_masks_added() const override;
public:
UnpackagedID(const Environment * const, const QualifiedPackageName &, const VersionSpec &,
@@ -47,42 +47,42 @@ namespace paludis
const std::string &, const std::string &, const std::string &,
const Tribool, const Tribool);
- ~UnpackagedID();
+ ~UnpackagedID() override;
- virtual const std::string canonical_form(const PackageIDCanonicalForm) const;
- virtual const QualifiedPackageName name() const;
- virtual const VersionSpec version() const;
- virtual const RepositoryName repository_name() const;
- virtual PackageDepSpec uniquely_identifying_spec() const;
+ const std::string canonical_form(const PackageIDCanonicalForm) const override;
+ const QualifiedPackageName name() const override;
+ const VersionSpec version() const override;
+ const RepositoryName repository_name() const override;
+ PackageDepSpec uniquely_identifying_spec() const override;
- virtual const std::shared_ptr<const MetadataValueKey<Slot> > slot_key() const;
- virtual const std::shared_ptr<const MetadataCollectionKey<KeywordNameSet> > keywords_key() const;
- virtual const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > dependencies_key() const;
- virtual const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > build_dependencies_key() const;
- virtual const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > run_dependencies_key() const;
- virtual const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > post_dependencies_key() const;
- virtual const std::shared_ptr<const MetadataSpecTreeKey<FetchableURISpecTree> > fetches_key() const;
- virtual const std::shared_ptr<const MetadataSpecTreeKey<SimpleURISpecTree> > homepage_key() const;
- virtual const std::shared_ptr<const MetadataValueKey<std::string> > short_description_key() const;
- virtual const std::shared_ptr<const MetadataValueKey<std::string> > long_description_key() const;
- virtual const std::shared_ptr<const MetadataTimeKey> installed_time_key() const;
- virtual const std::shared_ptr<const MetadataValueKey<FSPath> > fs_location_key() const;
- virtual const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > behaviours_key() const;
- virtual const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > from_repositories_key() const;
- virtual const std::shared_ptr<const MetadataValueKey<std::shared_ptr<const Choices> > > choices_key() const;
+ const std::shared_ptr<const MetadataValueKey<Slot> > slot_key() const override;
+ const std::shared_ptr<const MetadataCollectionKey<KeywordNameSet> > keywords_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > dependencies_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > build_dependencies_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > run_dependencies_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> > post_dependencies_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<FetchableURISpecTree> > fetches_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<SimpleURISpecTree> > homepage_key() const override;
+ const std::shared_ptr<const MetadataValueKey<std::string> > short_description_key() const override;
+ const std::shared_ptr<const MetadataValueKey<std::string> > long_description_key() const override;
+ const std::shared_ptr<const MetadataTimeKey> installed_time_key() const override;
+ const std::shared_ptr<const MetadataValueKey<FSPath> > fs_location_key() const override;
+ const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > behaviours_key() const override;
+ const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > from_repositories_key() const override;
+ const std::shared_ptr<const MetadataValueKey<std::shared_ptr<const Choices> > > choices_key() const override;
const std::shared_ptr<const MetadataValueKey<bool> > strip_key() const;
const std::shared_ptr<const MetadataValueKey<bool> > preserve_work_key() const;
- virtual bool supports_action(const SupportsActionTestBase &) const PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual void perform_action(Action &) const;
+ bool supports_action(const SupportsActionTestBase &) const override PALUDIS_ATTRIBUTE((warn_unused_result));
+ void perform_action(Action &) const override;
- virtual bool arbitrary_less_than_comparison(const PackageID &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::size_t extra_hash_value() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ bool arbitrary_less_than_comparison(const PackageID &) const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
+ std::size_t extra_hash_value() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::shared_ptr<const Contents> contents() const;
+ const std::shared_ptr<const Contents> contents() const override;
};
}
}
diff --git a/paludis/repositories/unpackaged/unpackaged_key.hh b/paludis/repositories/unpackaged/unpackaged_key.hh
index b4f54a53f..6d36c4611 100644
--- a/paludis/repositories/unpackaged/unpackaged_key.hh
+++ b/paludis/repositories/unpackaged/unpackaged_key.hh
@@ -40,20 +40,20 @@ namespace paludis
const std::string & r, const std::string & h, const MetadataKeyType t,
const std::shared_ptr<const DependenciesLabelSequence> &,
const std::string & v);
- ~UnpackagedDependencyKey();
+ ~UnpackagedDependencyKey() override;
- const std::shared_ptr<const DependencySpecTree> parse_value() const;
+ const std::shared_ptr<const DependencySpecTree> parse_value() const override;
- virtual const std::shared_ptr<const DependenciesLabelSequence> initial_labels() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::shared_ptr<const DependenciesLabelSequence> initial_labels() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::string raw_name() const PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::string human_name() const PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual MetadataKeyType type() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::string raw_name() const override PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::string human_name() const override PALUDIS_ATTRIBUTE((warn_unused_result));
+ MetadataKeyType type() const override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::string pretty_print_value(
+ const std::string pretty_print_value(
const PrettyPrinter &,
- const PrettyPrintOptions &) const PALUDIS_ATTRIBUTE((warn_unused_result));
+ const PrettyPrintOptions &) const override PALUDIS_ATTRIBUTE((warn_unused_result));
};
class UnpackagedChoicesKey :
@@ -66,13 +66,13 @@ namespace paludis
UnpackagedChoicesKey(const Environment * const env,
const std::string & r, const std::string & h, const MetadataKeyType t,
const UnpackagedID * const id);
- ~UnpackagedChoicesKey();
+ ~UnpackagedChoicesKey() override;
- virtual const std::shared_ptr<const Choices> parse_value() const;
+ const std::shared_ptr<const Choices> parse_value() const override;
- virtual const std::string raw_name() const PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::string human_name() const PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual MetadataKeyType type() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::string raw_name() const override PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::string human_name() const override PALUDIS_ATTRIBUTE((warn_unused_result));
+ MetadataKeyType type() const override PALUDIS_ATTRIBUTE((warn_unused_result));
};
}
}
diff --git a/paludis/repositories/unpackaged/unpackaged_repository.hh b/paludis/repositories/unpackaged/unpackaged_repository.hh
index d49255ef9..c8faa1c6b 100644
--- a/paludis/repositories/unpackaged/unpackaged_repository.hh
+++ b/paludis/repositories/unpackaged/unpackaged_repository.hh
@@ -71,54 +71,54 @@ namespace paludis
void _add_metadata_keys() const;
protected:
- virtual void need_keys_added() const;
+ void need_keys_added() const override;
public:
UnpackagedRepository(
const RepositoryName &,
const unpackaged_repositories::UnpackagedRepositoryParams &);
- ~UnpackagedRepository();
+ ~UnpackagedRepository() override;
- virtual void invalidate();
+ void invalidate() override;
- virtual std::shared_ptr<const PackageIDSequence> package_ids(
+ std::shared_ptr<const PackageIDSequence> package_ids(
const QualifiedPackageName &, const RepositoryContentMayExcludes &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::shared_ptr<const QualifiedPackageNameSet> package_names(
+ std::shared_ptr<const QualifiedPackageNameSet> package_names(
const CategoryNamePart &, const RepositoryContentMayExcludes &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::shared_ptr<const CategoryNamePartSet> category_names(const RepositoryContentMayExcludes &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ std::shared_ptr<const CategoryNamePartSet> category_names(const RepositoryContentMayExcludes &) const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::shared_ptr<const CategoryNamePartSet> category_names_containing_package(
+ std::shared_ptr<const CategoryNamePartSet> category_names_containing_package(
const PackageNamePart &, const RepositoryContentMayExcludes &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual bool has_package_named(const QualifiedPackageName &, const RepositoryContentMayExcludes &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ bool has_package_named(const QualifiedPackageName &, const RepositoryContentMayExcludes &) const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual bool has_category_named(const CategoryNamePart &, const RepositoryContentMayExcludes &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ bool has_category_named(const CategoryNamePart &, const RepositoryContentMayExcludes &) const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual bool some_ids_might_support_action(const SupportsActionTestBase &) const;
- virtual bool some_ids_might_not_be_masked() const;
+ bool some_ids_might_support_action(const SupportsActionTestBase &) const override;
+ bool some_ids_might_not_be_masked() const override;
- virtual const bool is_unimportant() const;
+ const bool is_unimportant() const override;
- virtual bool sync(const std::string &, const std::string &, const std::shared_ptr<OutputManager> &) const;
+ bool sync(const std::string &, const std::string &, const std::shared_ptr<OutputManager> &) const override;
- virtual const std::shared_ptr<const Set<std::string> > maybe_expand_licence_nonrecursively(
- const std::string &) const;
+ const std::shared_ptr<const Set<std::string> > maybe_expand_licence_nonrecursively(
+ const std::string &) const override;
/* Keys */
- virtual const std::shared_ptr<const MetadataValueKey<std::string> > format_key() const;
- virtual const std::shared_ptr<const MetadataValueKey<FSPath> > location_key() const;
- virtual const std::shared_ptr<const MetadataValueKey<FSPath> > installed_root_key() const;
- virtual const std::shared_ptr<const MetadataCollectionKey<Map<std::string, std::string> > > sync_host_key() const;
+ const std::shared_ptr<const MetadataValueKey<std::string> > format_key() const override;
+ const std::shared_ptr<const MetadataValueKey<FSPath> > location_key() const override;
+ const std::shared_ptr<const MetadataValueKey<FSPath> > installed_root_key() const override;
+ const std::shared_ptr<const MetadataCollectionKey<Map<std::string, std::string> > > sync_host_key() const override;
///\name RepositoryFactory functions
///\{
@@ -140,12 +140,12 @@ namespace paludis
///\name Set methods
///\{
- virtual void populate_sets() const;
+ void populate_sets() const override;
///\}
- virtual HookResult perform_hook(const Hook & hook, const std::shared_ptr<OutputManager> &)
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ HookResult perform_hook(const Hook & hook, const std::shared_ptr<OutputManager> &)
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
};
}
diff --git a/paludis/repositories/unpackaged/unpackaged_stripper.hh b/paludis/repositories/unpackaged/unpackaged_stripper.hh
index 6f48fa562..25f966dc3 100644
--- a/paludis/repositories/unpackaged/unpackaged_stripper.hh
+++ b/paludis/repositories/unpackaged/unpackaged_stripper.hh
@@ -60,19 +60,19 @@ namespace paludis
Pimp<UnpackagedStripper> _imp;
protected:
- virtual void on_enter_dir(const FSPath &);
- virtual void on_leave_dir(const FSPath &);
+ void on_enter_dir(const FSPath &) override;
+ void on_leave_dir(const FSPath &) override;
- virtual void on_strip(const FSPath &);
- virtual void on_split(const FSPath &, const FSPath &);
- virtual void on_dwarf_compress(const FSPath &);
- virtual void on_unknown(const FSPath &);
+ void on_strip(const FSPath &) override;
+ void on_split(const FSPath &, const FSPath &) override;
+ void on_dwarf_compress(const FSPath &) override;
+ void on_unknown(const FSPath &) override;
public:
UnpackagedStripper(const UnpackagedStripperOptions &);
- ~UnpackagedStripper();
+ ~UnpackagedStripper() override;
- virtual void strip();
+ void strip() override;
};
}
}
diff --git a/paludis/repositories/unwritten/unwritten_id.hh b/paludis/repositories/unwritten/unwritten_id.hh
index 341348aaa..8472bd0c1 100644
--- a/paludis/repositories/unwritten/unwritten_id.hh
+++ b/paludis/repositories/unwritten/unwritten_id.hh
@@ -76,49 +76,49 @@ namespace paludis
Pimp<UnwrittenID> _imp;
protected:
- void need_keys_added() const;
- void need_masks_added() const;
+ void need_keys_added() const override;
+ void need_masks_added() const override;
public:
UnwrittenID(const UnwrittenIDParams &);
- ~UnwrittenID();
+ ~UnwrittenID() override;
- const std::string canonical_form(const PackageIDCanonicalForm) const;
- const QualifiedPackageName name() const;
- const VersionSpec version() const;
- const RepositoryName repository_name() const;
- virtual PackageDepSpec uniquely_identifying_spec() const;
+ const std::string canonical_form(const PackageIDCanonicalForm) const override;
+ const QualifiedPackageName name() const override;
+ const VersionSpec version() const override;
+ const RepositoryName repository_name() const override;
+ PackageDepSpec uniquely_identifying_spec() const override;
- const std::shared_ptr<const MetadataValueKey<Slot> > slot_key() const;
- const std::shared_ptr<const MetadataCollectionKey<KeywordNameSet> > keywords_key() const;
+ const std::shared_ptr<const MetadataValueKey<Slot> > slot_key() const override;
+ const std::shared_ptr<const MetadataCollectionKey<KeywordNameSet> > keywords_key() const override;
const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> >
- dependencies_key() const;
+ dependencies_key() const override;
const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> >
- build_dependencies_key() const;
+ build_dependencies_key() const override;
const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> >
- run_dependencies_key() const;
+ run_dependencies_key() const override;
const std::shared_ptr<const MetadataSpecTreeKey<DependencySpecTree> >
- post_dependencies_key() const;
- const std::shared_ptr<const MetadataSpecTreeKey<FetchableURISpecTree> > fetches_key() const;
- const std::shared_ptr<const MetadataSpecTreeKey<SimpleURISpecTree> > homepage_key() const;
- const std::shared_ptr<const MetadataValueKey<std::string> > short_description_key() const;
- const std::shared_ptr<const MetadataValueKey<std::string> > long_description_key() const;
- const std::shared_ptr<const MetadataTimeKey> installed_time_key() const;
- const std::shared_ptr<const MetadataValueKey<FSPath> > fs_location_key() const;
- const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > behaviours_key() const;
- const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > from_repositories_key() const;
- const std::shared_ptr<const MetadataValueKey<std::shared_ptr<const Choices> > > choices_key() const;
+ post_dependencies_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<FetchableURISpecTree> > fetches_key() const override;
+ const std::shared_ptr<const MetadataSpecTreeKey<SimpleURISpecTree> > homepage_key() const override;
+ const std::shared_ptr<const MetadataValueKey<std::string> > short_description_key() const override;
+ const std::shared_ptr<const MetadataValueKey<std::string> > long_description_key() const override;
+ const std::shared_ptr<const MetadataTimeKey> installed_time_key() const override;
+ const std::shared_ptr<const MetadataValueKey<FSPath> > fs_location_key() const override;
+ const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > behaviours_key() const override;
+ const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > from_repositories_key() const override;
+ const std::shared_ptr<const MetadataValueKey<std::shared_ptr<const Choices> > > choices_key() const override;
bool supports_action(const SupportsActionTestBase &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
- void perform_action(Action &) const PALUDIS_ATTRIBUTE((noreturn));
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
+ void perform_action(Action &) const override PALUDIS_ATTRIBUTE((noreturn));
bool arbitrary_less_than_comparison(const PackageID &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
std::size_t extra_hash_value() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::shared_ptr<const Contents> contents() const;
+ const std::shared_ptr<const Contents> contents() const override;
};
}
}
diff --git a/paludis/repositories/unwritten/unwritten_mask.hh b/paludis/repositories/unwritten/unwritten_mask.hh
index 2789ee7f5..e5cc28ed0 100644
--- a/paludis/repositories/unwritten/unwritten_mask.hh
+++ b/paludis/repositories/unwritten/unwritten_mask.hh
@@ -30,18 +30,18 @@ namespace paludis
public UnsupportedMask
{
public:
- virtual const std::string explanation() const;
- virtual char key() const;
- virtual const std::string description() const;
+ const std::string explanation() const override;
+ char key() const override;
+ const std::string description() const override;
};
class GraveyardMask :
public UnsupportedMask
{
public:
- virtual const std::string explanation() const;
- virtual char key() const;
- virtual const std::string description() const;
+ const std::string explanation() const override;
+ char key() const override;
+ const std::string description() const override;
};
}
}
diff --git a/paludis/repositories/unwritten/unwritten_repository.hh b/paludis/repositories/unwritten/unwritten_repository.hh
index 38ddb5f30..bc73cb759 100644
--- a/paludis/repositories/unwritten/unwritten_repository.hh
+++ b/paludis/repositories/unwritten/unwritten_repository.hh
@@ -63,37 +63,37 @@ namespace paludis
void _add_metadata_keys();
protected:
- virtual void need_keys_added() const;
+ void need_keys_added() const override;
public:
UnwrittenRepository(const UnwrittenRepositoryParams &);
- ~UnwrittenRepository();
+ ~UnwrittenRepository() override;
- virtual const bool is_unimportant() const;
+ const bool is_unimportant() const override;
- virtual const std::shared_ptr<const MetadataValueKey<std::string> > format_key() const;
- virtual const std::shared_ptr<const MetadataValueKey<FSPath> > location_key() const;
- virtual const std::shared_ptr<const MetadataValueKey<FSPath> > installed_root_key() const;
- virtual const std::shared_ptr<const MetadataCollectionKey<Map<std::string, std::string> > > sync_host_key() const;
+ const std::shared_ptr<const MetadataValueKey<std::string> > format_key() const override;
+ const std::shared_ptr<const MetadataValueKey<FSPath> > location_key() const override;
+ const std::shared_ptr<const MetadataValueKey<FSPath> > installed_root_key() const override;
+ const std::shared_ptr<const MetadataCollectionKey<Map<std::string, std::string> > > sync_host_key() const override;
- virtual bool has_category_named(const CategoryNamePart & c, const RepositoryContentMayExcludes &) const;
- virtual bool has_package_named(const QualifiedPackageName & q, const RepositoryContentMayExcludes &) const;
- virtual std::shared_ptr<const CategoryNamePartSet> category_names(const RepositoryContentMayExcludes &) const;
- virtual std::shared_ptr<const CategoryNamePartSet> unimportant_category_names(const RepositoryContentMayExcludes &) const;
- virtual std::shared_ptr<const CategoryNamePartSet> category_names_containing_package(
- const PackageNamePart & p, const RepositoryContentMayExcludes &) const;
- virtual std::shared_ptr<const QualifiedPackageNameSet> package_names(
- const CategoryNamePart & c, const RepositoryContentMayExcludes &) const;
- virtual std::shared_ptr<const PackageIDSequence> package_ids(const QualifiedPackageName & p, const RepositoryContentMayExcludes &) const;
+ bool has_category_named(const CategoryNamePart & c, const RepositoryContentMayExcludes &) const override;
+ bool has_package_named(const QualifiedPackageName & q, const RepositoryContentMayExcludes &) const override;
+ std::shared_ptr<const CategoryNamePartSet> category_names(const RepositoryContentMayExcludes &) const override;
+ std::shared_ptr<const CategoryNamePartSet> unimportant_category_names(const RepositoryContentMayExcludes &) const override;
+ std::shared_ptr<const CategoryNamePartSet> category_names_containing_package(
+ const PackageNamePart & p, const RepositoryContentMayExcludes &) const override;
+ std::shared_ptr<const QualifiedPackageNameSet> package_names(
+ const CategoryNamePart & c, const RepositoryContentMayExcludes &) const override;
+ std::shared_ptr<const PackageIDSequence> package_ids(const QualifiedPackageName & p, const RepositoryContentMayExcludes &) const override;
- virtual bool some_ids_might_support_action(const SupportsActionTestBase &) const;
- virtual bool some_ids_might_not_be_masked() const;
- virtual void invalidate();
+ bool some_ids_might_support_action(const SupportsActionTestBase &) const override;
+ bool some_ids_might_not_be_masked() const override;
+ void invalidate() override;
- virtual bool sync(const std::string &, const std::string &, const std::shared_ptr<OutputManager> & output_manager) const;
+ bool sync(const std::string &, const std::string &, const std::shared_ptr<OutputManager> & output_manager) const override;
- virtual const std::shared_ptr<const Set<std::string> > maybe_expand_licence_nonrecursively(
- const std::string &) const;
+ const std::shared_ptr<const Set<std::string> > maybe_expand_licence_nonrecursively(
+ const std::string &) const override;
///\name RepositoryFactory functions
///\{
@@ -115,11 +115,11 @@ namespace paludis
///\name Set methods
///\{
- virtual void populate_sets() const;
+ void populate_sets() const override;
///\}
- virtual HookResult perform_hook(const Hook & hook, const std::shared_ptr<OutputManager> &);
+ HookResult perform_hook(const Hook & hook, const std::shared_ptr<OutputManager> &) override;
};
}