Page MenuHomePhabricator

[LINTER] Check for header guard closure comment
ClosedPublic

Authored by Fabien on Oct 7 2019, 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
Branch
arcanist_header_guard_comment
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 7700
Build 13439: Bitcoin ABC Buildbot (legacy)
Build 13438: arc lint + arc unit