-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Add clang tidy performance checks #8429
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks very well. I left just 2 minor suggestions you may want to refer to. Good job overall!
packages/react-native-reanimated/Common/cpp/reanimated/CSS/registries/CSSAnimationsRegistry.cpp
Outdated
Show resolved
Hide resolved
packages/react-native-reanimated/Common/cpp/reanimated/CSS/utils/DelayedItemsManager.cpp
Outdated
Show resolved
Hide resolved
…comply with the .h
… if BreakBeforeBraces is not set to Custom)
| BraceWrapping: | ||
| AfterClass: false | ||
| AfterControlStatement: false | ||
| AfterEnum: false | ||
| AfterFunction: false | ||
| AfterNamespace: false | ||
| AfterObjCDeclaration: false | ||
| AfterStruct: false | ||
| AfterUnion: false | ||
| BeforeCatch: false | ||
| BeforeElse: false | ||
| IndentBraces: false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe you changed this by mistake. Please revert these changes as we don't want to wrap braces.
Summary
I uncommented
- performance-*clang-tidy check glob. This check encourages good performance practices. After that I solved CSA errors generated by the code.