Skip to content

Commit

Permalink
Change \exception -> \exceptions to make doc output consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph-Edwards committed Dec 16, 2024
1 parent 0984ac4 commit d090fbf
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion include/libsemigroups/aho-corasick.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,7 @@ namespace libsemigroups {
//!
//! \returns A string containing a representation of \p ac.
//!
//! \exception
//! \exceptions
//! \no_libsemigroups_except
// TODO (now) rename this to_human_readable_repr
std::string to_string(AhoCorasick& ac);
Expand Down
18 changes: 9 additions & 9 deletions include/libsemigroups/detail/rewriters.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ namespace libsemigroups {
//!
//! \param id the id of the new rule.
//!
//! \exception
//! \exceptions
//! \no_libsemigroups_except
explicit Rule(int64_t id);

Expand All @@ -124,7 +124,7 @@ namespace libsemigroups {
//!
//! \returns A pointer to the left-hand side.
//!
//! \exception
//! \exceptions
//! \noexcept
//!
//! \complexity
Expand All @@ -144,7 +144,7 @@ namespace libsemigroups {
//!
//! \returns A pointer to the right-hand side.
//!
//! \exception
//! \exceptions
//! \noexcept
//!
//! \complexity
Expand All @@ -163,7 +163,7 @@ namespace libsemigroups {
//!
//! \returns A value of type `bool`.
//!
//! \exception
//! \exceptions
//! \noexcept
//!
//! \complexity
Expand All @@ -178,7 +178,7 @@ namespace libsemigroups {
//!
//! \returns A value of type `bool`.
//!
//! \exception
//! \exceptions
//! \noexcept
//!
//! \complexity
Expand All @@ -196,7 +196,7 @@ namespace libsemigroups {
//!
//! Deactivate a rule, if it is active.
//!
//! \exception
//! \exceptions
//! \noexcept
//!
//! \complexity
Expand All @@ -210,7 +210,7 @@ namespace libsemigroups {
//!
//! Activate a rule, if it is inactive.
//!
//! \exception
//! \exceptions
//! \noexcept
//!
//! \complexity
Expand All @@ -226,7 +226,7 @@ namespace libsemigroups {
//!
//! \param id the id to set.
//!
//! \exception
//! \exceptions
//! \noexcept
//!
//! \complexity
Expand Down Expand Up @@ -269,7 +269,7 @@ namespace libsemigroups {
//! \complexity
//! Constant.
//!
//! \exception
//! \exceptions
//! \noexcept
[[nodiscard]] int64_t id() const noexcept {
LIBSEMIGROUPS_ASSERT(_id != 0);
Expand Down
4 changes: 2 additions & 2 deletions include/libsemigroups/sims.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ namespace libsemigroups {
//!
//! \returns A reference to \c this.
//!
//! \exception
//! \exceptions
//! \no_libsemigroups_except
// TODO(tests)
Subclass& init();
Expand Down Expand Up @@ -1677,7 +1677,7 @@ namespace libsemigroups {
//!
//! \returns A reference to \c this.
//!
//! \exception
//! \exceptions
//! \no_libsemigroups_except
Sims2& init() {
SimsSettings<Sims2>::init();
Expand Down
2 changes: 1 addition & 1 deletion include/libsemigroups/transf.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ namespace libsemigroups {
//! \returns
//! A value of type \ref point_type.
//!
//! \exception
//! \exceptions
//! \noexcept
[[nodiscard]] static point_type undef() noexcept {
return static_cast<point_type>(UNDEFINED);
Expand Down
8 changes: 4 additions & 4 deletions include/libsemigroups/word-graph.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ namespace libsemigroups {
//! \complexity
//! Constant.
//!
//! \exception LibsemigroupsException if \p source or \p a is not
//! \throws LibsemigroupsException if \p source or \p a is not
//! valid.
// Not noexcept because throw_if_node_out_of_bounds/label aren't
[[nodiscard]] node_type target(node_type source, label_type a) const;
Expand Down Expand Up @@ -1460,7 +1460,7 @@ namespace libsemigroups {
//! \param first iterator into a word.
//! \param last iterator into a word.
//!
//! \exception
//! \exceptions
//! \noexcept
//!
//! \returns A value of type \p Node1.
Expand Down Expand Up @@ -1492,7 +1492,7 @@ namespace libsemigroups {
//! \param from the source node.
//! \param path the word.
//!
//! \exception
//! \exceptions
//! \noexcept
//!
//! \returns A value of type \p Node1.
Expand Down Expand Up @@ -2065,7 +2065,7 @@ namespace libsemigroups {
//! \param first iterator into a word.
//! \param last iterator into a word.
//!
//! \exception
//! \exceptions
//! \noexcept
//!
//! \returns A pair consisting of the last node reached and an iterator
Expand Down

0 comments on commit d090fbf

Please sign in to comment.