Page MenuHomePhabricator

[LINTER] Check for header guard closure comment
ClosedPublic

Authored by Fabien on Mon, Oct 7, 12:43.

Details

Summary

This enforces setting the header guard as a comment following the
#endif statement.
Includes the fix for the header files violating the rule.

Test Plan

Should return nothing:

arc lint --everything

Remove the comment of an header guard and check the linter catches it.

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.