Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@cbracken
Copy link
Member

This updates local variable names to use clang lower_case style in the display_list directory. This is one of several patches to update our variable names to a consistent style before enabling enforcement in our clang-tidy rules.

This is a formatting-only change with no intended semantic change.

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the Flutter Style Guide and the C++, Objective-C, Java style guides.
  • I listed at least one issue that this PR fixes in the description above.
  • I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test-exempt. See testing the engine for instructions on
    writing and running engine tests.
  • I updated/added relevant documentation (doc comments with ///).
  • I signed the CLA.
  • All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Copy link
Contributor

@chinmaygarde chinmaygarde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! You automated this using something like clang-tidy right? cc @flar

@cbracken
Copy link
Member Author

cbracken commented Sep 12, 2022

Not quite fully automated since a lot of the name suggestions were 'weird', but yeah automated then hand-tweaked. Will find somewhere in the wiki to document how to add/apply new lints if we don't have it already.

@cbracken
Copy link
Member Author

cbracken commented Sep 12, 2022

Doing it piecewise in chunks at the directory level due to the manual review/tweaking of names. Once locals are done, I'll find some time to do method/function parameters. (Mostly, I was just bored this weekend)

This updates local variable names to use clang `lower_case` style in the
display_list directory. This is one of several patches to update our
variable names to a consistent style before enabling enforcement in our
clang-tidy rules.

This is a formatting-only change with no intended semantic change.
@cbracken cbracken merged commit b41073f into flutter:main Sep 13, 2022
@cbracken cbracken deleted the fix-locals-display-list branch September 13, 2022 00:33
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Sep 13, 2022
cfontas pushed a commit to cfontas/engine that referenced this pull request Sep 14, 2022
This updates local variable names to use clang `lower_case` style in the
display_list directory. This is one of several patches to update our
variable names to a consistent style before enabling enforcement in our
clang-tidy rules.

This is a formatting-only change with no intended semantic change.
Oleh-Sv pushed a commit to Oleh-Sv/engine that referenced this pull request Sep 28, 2022
This updates local variable names to use clang `lower_case` style in the
display_list directory. This is one of several patches to update our
variable names to a consistent style before enabling enforcement in our
clang-tidy rules.

This is a formatting-only change with no intended semantic change.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants