kernel_feature_tool.h:107: Is this a non-const reference? If so, make const or use a pointer: KernelFeature& kf [runtime/references] [2]
but based on my reading of the current
style guide a non-optional input/output parameter
should be a (non-const) reference.
Am I understanding the style guide correctly here that this reference should be fine? Does this lint show up in Chromium as well or is there potentially a CPPLINT.cfg setting somewhere disabling this lint on the browser side?
Additionally cpplint seems to only raise this lint on the header file and not on
kernel_feature_tool.cc, which was also confusing to me. Is this intentional?
I am not a Chromium CXX subject matter expert, so input to help clear up my understanding of what should be happening here is greatly appreciated.
Cheers,
Chris
--
I support flexible work schedules, and I’m sending this email now because it is within the hours I’m working today. Please do not feel obliged to reply straight away - I understand that you will reply during the hours you work, which may not match mine.