Skip to content

Update linter to allow non-const references to match more recent goog… #920

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 3, 2022

Conversation

AlmostMatt
Copy link
Contributor

@AlmostMatt AlmostMatt commented May 2, 2022

Description

Remove the "Is this a non-const reference? If so, make const or use a pointer" lint warning.
This lint warning is a leftover from when the google style guide used to forbid non-const references, but it now allows and even recommends non-const references for required output parameters. (go/cstyle#Output_Parameters)


Testing

N/A


Type of Change

Place an x the applicable box:

  • Bug fix. Add the issue # below if applicable.
  • New feature. A non-breaking change which adds functionality.
  • Other, such as a build process or documentation change.

@AlmostMatt AlmostMatt requested a review from chkuang-g May 2, 2022 20:53
@jonsimantov jonsimantov self-requested a review May 3, 2022 18:46
@AlmostMatt AlmostMatt added the skip-release-notes Skip release notes check label May 3, 2022
@AlmostMatt AlmostMatt merged commit f9901de into main May 3, 2022
@github-actions github-actions bot added the tests: in-progress This PR's integration tests are in progress. label May 3, 2022
@github-actions
Copy link

github-actions bot commented May 3, 2022

✅  Integration test succeeded!

Requested by @AlmostMatt on commit f9901de
Last updated: Tue May 3 15:39 PDT 2022
View integration test log & download artifacts

@github-actions github-actions bot added the tests: succeeded This PR's integration tests succeeded. label May 3, 2022
@firebase-workflow-trigger firebase-workflow-trigger bot removed the tests: in-progress This PR's integration tests are in progress. label May 3, 2022
@firebase firebase locked and limited conversation to collaborators Jun 3, 2022
@AlmostMatt AlmostMatt deleted the lint-ignore-non-const-reference-warning branch October 20, 2022 21:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
skip-release-notes Skip release notes check tests: succeeded This PR's integration tests succeeded.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants