diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-10-20 04:25:44 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-11-08 00:11:09 +0200 |
commit | 6cd1baa28d8ab0babb766de7a59d10f38fbd786d (patch) | |
tree | 1a66b45140ac9ab7b0a31e0cfea41a2805635d1e /utils/ipc/mojo/public | |
parent | fa63d428aef62bacf0a6ad1622a7965b3ff2ba2f (diff) |
utils: checkstyle.py: Add d-pointer formatter
Add a formatter to ensure consistent naming of 'd' and 'o' variables
related to the d-pointer design pattern, as implemented by the
Extensible class. The formatter also ensures that the pointer is always
const. const-correctness issues related to the data pointed to will be
caught by the compiler, and thus don't need to be checked here.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'utils/ipc/mojo/public')
0 files changed, 0 insertions, 0 deletions