check_names.py cannot have function-name exceptions #187
Labels
No labels
approved
bug
dependencies
DO-NOT-MERGE
enhancement
good-first-issue
help-wanted
historical-reviewed
historical-reviewing
needs-adoption
needs-ci
needs-design-approval
needs-info
needs-preceding-pr
needs-review
needs-reviewer
needs-work
priority-high
priority-low
priority-medium
priority-scheduled
priority-very-high
single-reviewer
size-l
size-m
size-s
size-xs
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-Mbed-TLS/mbedtls-framework#187
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The comment
//no-check-namesis supposed to neutralise name checks, but it doesn't work with function names.This is slightly more complicated to implement than for macros as we do checks on function names then we use
nmto check that no symbols are exposed externally that are not declared in headers. We would have to scan for the comment and then remember which function names do not need checking.With this in mind, would the ability to turn this off even be desirable?
Nowadays I suspect that clang-tidy's readability-identifier-naming
check can do what we do with check-names. We should consider this before adding more features to check-names.