Page MenuHomePhabricator

[LINTER] Prevent using inline doxygen comments on their own line
ClosedPublic

Authored by Fabien on Feb 7 2020, 15:29.

Details

Summary

This will prevent issues like D5180 to occur again.

Test Plan

Add a few doxygen inline comments in a source file such as:

///< A comment
//!< another comment
/**< yet another comment */
/*!< my last comment */

Run arc lint and check the linter offers to replace with the
non-inline equivalent.

arc lint --everything

Diff Detail

Repository
rABC Bitcoin ABC
Branch
linter_doxygen
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 9331
Build 16598: Default Diff Build & Tests
Build 16597: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Feb 7 2020, 15:33