Skip to content
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

clang-tidy: unnecessary copy perf #428

Merged
merged 2 commits into from
Oct 18, 2023

Conversation

ax3l
Copy link
Member

@ax3l ax3l commented Aug 30, 2023

Follow-up to #427

Run tests & fixes again.
Add new tests as in ECP-WarpX/WarpX#4136

@ax3l ax3l added enhancement New feature or request component: core Core ImpactX functionality Performance optimization labels Aug 30, 2023
@ax3l ax3l force-pushed the topic-clang-tidy-more branch 9 times, most recently from 5737e8e to fe40dd7 Compare August 30, 2023 07:17
src/particles/ImpactXParticleContainer.cpp Fixed Show resolved Hide resolved
@@ -58,7 +58,7 @@
* @param[in] nslice_default
* @param[in] mapsteps_default
*/
void read_element (std::string element_name,
void read_element (std::string const & element_name,

Check warning

Code scanning / CodeQL

Poorly documented large function Warning

Poorly documented function: fewer than 2% comments for a function of 355 lines.
@ax3l ax3l force-pushed the topic-clang-tidy-more branch 2 times, most recently from 3e52a41 to aa1f0d8 Compare August 30, 2023 19:59
@ax3l ax3l merged commit 243f219 into ECP-WarpX:development Oct 18, 2023
15 checks passed
@ax3l ax3l deleted the topic-clang-tidy-more branch October 18, 2023 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: core Core ImpactX functionality enhancement New feature or request Performance optimization
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants