summaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-05-31 14:24:24 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-05-31 20:04:53 +0300
commitb8b24c5b5e02fc6b195ab0acab43f63ddeac8fbc (patch)
tree55c41c5263a028eef7463dc323ef94c90eb067a0 /.clang-format
parent9b29eba7a202de1a1a1cc5e6f888cf4983f38230 (diff)
utils: checkstyle.py: Refactor IncludeChecker
The IncludeCheck warns when code uses C++ standard library headers where corresponding C compatibility headers are preferred. We have an exception to that rule for math.h, where cmath is prefered. In order to prepare for extending checkstyle.py to enforce that rule, refactor the way the IncludeChecker identifies headers. No functional change is intended. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions