This enforces setting the header guard as a comment following the
#endif statement.
Includes the fix for the header files violating the rule.
Details
Details
- Reviewers
deadalnix - Group Reviewers
Restricted Project - Commits
- rSTAGING7ae2dc514d8f: [LINTER] Check for header guard closure comment
rABC7ae2dc514d8f: [LINTER] Check for header guard closure comment
Should return nothing:
arc lint --everything
Remove the comment of an header guard and check the linter catches it.
Diff Detail
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