Skip to content

Commit

Permalink
docs: Prefer \ to @ in Doxygen comments
Browse files Browse the repository at this point in the history
This commit replaces any instances of `@`-style Doxygen commands with
their `\`-style equivalents. This is done for consistency across the
codebase.

The `\sa` Doxygen command has been added to the Clang-Format
configuration to prevent it from reflowing see-also comments, which
often exceed the column limit due to referring to long URLs.

Change-Id: Ia4ebe8bd310293da9e2af55fe253f0762807e88a
Signed-off-by: Chris Kay <[email protected]>
  • Loading branch information
CJKay authored and jimqui01 committed Oct 2, 2020
1 parent 8d2dafa commit 3361c32
Show file tree
Hide file tree
Showing 118 changed files with 508 additions and 507 deletions.
1 change: 1 addition & 0 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ BreakBeforeBinaryOperators: None
BreakBeforeBraces: WebKit
BreakBeforeTernaryOperators: 'false'
ColumnLimit: '80'
CommentPragmas: '^\\sa'
ContinuationIndentWidth: '4'
Cpp11BracedListStyle: 'false'
DerivePointerAlignment: 'false'
Expand Down
4 changes: 2 additions & 2 deletions debugger/include/checkpoint.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

/*!
* \addtogroup GroupCLIDebugger
* @{
* \{
*/

/*!
Expand Down Expand Up @@ -162,7 +162,7 @@ void checkpoint(checkpoint_st *c, char *file, int32_t line, char *tag);
#endif

/*!
* @}
* \}
*/

#endif /* CHECKPOINT_H */
8 changes: 4 additions & 4 deletions framework/include/fwk_arch.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@

/*!
* \addtogroup GroupLibFramework Framework
* @{
* \{
*/

/*!
* \defgroup GroupArch Architecture Interface
* @{
* \{
*/

/*!
Expand Down Expand Up @@ -215,11 +215,11 @@ struct fwk_arch_init_driver {
int fwk_arch_init(const struct fwk_arch_init_driver *driver);

/*!
* @}
* \}
*/

/*!
* @}
* \}
*/

#endif /* FWK_ARCH_H */
8 changes: 4 additions & 4 deletions framework/include/fwk_cli_dbg.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@

/*!
* \addtogroup GroupLibFramework Framework
* @{
* \{
*/

/*!
* \defgroup GroupCLI Debugger
* @{
* \{
*/

#if defined(BUILD_HAS_DEBUGGER)
Expand Down Expand Up @@ -45,10 +45,10 @@
#endif

/*!
* @}
* \}
*/

/*!
* @}
* \}
*/
#endif /* FWK_CLI_DBG_H */
8 changes: 4 additions & 4 deletions framework/include/fwk_dlist.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@

/*!
* \addtogroup GroupLibFramework Framework
* @{
* \{
*/

/*!
* \addtogroup GroupLinkedList Linked Lists
* @{
* \{
*/

/*!
Expand Down Expand Up @@ -112,11 +112,11 @@ void __fwk_dlist_insert(
*/

/*!
* @}
* \}
*/

/*!
* @}
* \}
*/

#endif /* FWK_DLIST_H */
8 changes: 4 additions & 4 deletions framework/include/fwk_element.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@

/*!
* \addtogroup GroupLibFramework Framework
* @{
* \{
*/

/*!
* \defgroup GroupElement Elements
* @{
* \{
*/

/*!
Expand Down Expand Up @@ -49,11 +49,11 @@ struct fwk_element {
};

/*!
* @}
* \}
*/

/*!
* @}
* \}
*/

#endif /* FWK_ELEMENT_H */
8 changes: 4 additions & 4 deletions framework/include/fwk_event.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@

/*!
* \addtogroup GroupLibFramework Framework
* @{
* \{
*/

/*!
* \defgroup GroupEvent Events
* @{
* \{
*/

/*!
Expand Down Expand Up @@ -99,11 +99,11 @@ struct fwk_event {
};

/*!
* @}
* \}
*/

/*!
* @}
* \}
*/

#endif /* FWK_EVENT_H */
8 changes: 4 additions & 4 deletions framework/include/fwk_id.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@

/*!
* \addtogroup GroupLibFramework Framework
* @{
* \{
*/

/*!
* \defgroup GroupId Identifiers
* @{
* \{
*/

/*!
Expand Down Expand Up @@ -589,11 +589,11 @@ struct fwk_id_verbose_fmt {
struct fwk_id_verbose_fmt fwk_id_verbose_str(fwk_id_t id);

/*!
* @}
* \}
*/

/*!
* @}
* \}
*/

#endif /* FWK_ID_H */
8 changes: 4 additions & 4 deletions framework/include/fwk_interrupt.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@

/*!
* \addtogroup GroupLibFramework Framework
* @{
* \{
*/

/*!
* \defgroup GroupInterrupt Interrupt Management
* @{
* \{
*/

/*!
Expand Down Expand Up @@ -200,11 +200,11 @@ int fwk_interrupt_set_isr_param(unsigned int interrupt,
int fwk_interrupt_get_current(unsigned int *interrupt);

/*!
* @}
* \}
*/

/*!
* @}
* \}
*/

#endif /* FWK_INTERRUPT_H */
8 changes: 4 additions & 4 deletions framework/include/fwk_list.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@

/*!
* \addtogroup GroupLibFramework Framework
* @{
* \{
*/

/*!
* \addtogroup GroupLinkedList Linked Lists
* @{
* \{
*/

/*!
Expand Down Expand Up @@ -219,11 +219,11 @@
elem = FWK_LIST_GET(node, type, member))

/*!
* @}
* \}
*/

/*!
* @}
* \}
*/

#endif /* FWK_LIST_H */
8 changes: 4 additions & 4 deletions framework/include/fwk_macros.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@

/*!
* \addtogroup GroupLibFramework Framework
* @{
* \{
*/

/*!
* \defgroup GroupMacros Macros
* @{
* \{
*/

/*!
Expand Down Expand Up @@ -370,11 +370,11 @@
#endif

/*!
* @}
* \}
*/

/*!
* @}
* \}
*/

#endif /* FWK_MACROS_H */
4 changes: 2 additions & 2 deletions framework/include/fwk_math.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* \details Math helper functions to implement several common operations in an
* efficient way.
*
* @{
* \{
*/

/*!
Expand Down Expand Up @@ -64,7 +64,7 @@
((sizeof(num) * CHAR_BIT) - fwk_math_clz(num) - 1)

/*!
* @}
* \}
*/

#endif /* FWK_MATH_H */
8 changes: 4 additions & 4 deletions framework/include/fwk_module.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@

/*!
* \addtogroup GroupLibFramework Framework
* @{
* \{
*/

/*!
* \defgroup GroupModule Modules
* @{
* \{
*/

/*!
Expand Down Expand Up @@ -581,11 +581,11 @@ int fwk_module_adapter(const struct fwk_io_adapter **adapter, fwk_id_t id);
void fwk_module_init(void);

/*!
* @}
* \}
*/

/*!
* @}
* \}
*/

#endif /* FWK_MODULE_H */
8 changes: 4 additions & 4 deletions framework/include/fwk_multi_thread.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@

/*!
* \addtogroup GroupLibFramework Framework
* @{
* \{
*/

/*!
* \defgroup GroupThread Threading
*
* @{
* \{
*/

/*!
Expand Down Expand Up @@ -94,11 +94,11 @@ int fwk_thread_put_event_and_wait(
#endif

/*!
* @}
* \}
*/

/*!
* @}
* \}
*/

#endif /* FWK_MULTI_THREAD_H */
4 changes: 2 additions & 2 deletions framework/include/fwk_notification.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
/*!
* \ingroup GroupLibFramework
* \defgroup GroupNotification Notifications
* @{
* \{
*/

/*!
Expand Down Expand Up @@ -94,7 +94,7 @@ int fwk_notification_notify(struct fwk_event *notification_event,
unsigned int *count);

/*!
* @}
* \}
*/

#endif /* FWK_NOTIFICATION_H */
Loading

0 comments on commit 3361c32

Please sign in to comment.