Descriptiontools/gn: mark first TestTarget parameter as const
Style guide mandates that parameters passed by reference must be labeled
'const'. That, or they should be const T*.
https://google.github.io/styleguide/cppguide.html#Reference_Arguments
This is also to please cpplint complain on it:
./tools/gn/test_with_scope.h:104: Is this a non-const reference? If so,
make const or use a pointer: TestWithScope& setup [runtime/references] [2]
BUG=None
TEST=gn_unittests
R=scottmg@chromium.org
Committed: https://crrev.com/45e4d2956883c02a20e0269ae74b24923a34cbc5
Cr-Commit-Position: refs/heads/master@{#360251}
Patch Set 1 #
Messages
Total messages: 6 (1 generated)
|