Refactor codebase to use modern C++ language features - #107
Conversation
|
Important Review skippedToo many files! This PR contains 244 files, which is 94 over the limit of 150. To get a review, narrow the scope: Upgrade to a paid plan to raise the limit. ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (244)
You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
This PR refactors the FastCaloSim codebase to consistently use modern C++ language features without changing its intended behaviour.
The changes are primarily mechanical and focus on improving code readability, consistency, and maintainability.
Main changes
typedefwithusingaliases.autoand trailing return types where appropriate.overridedeclarations.NULLwithnullptr.while (1)withwhile (true).These updates span multiple components, including the core library, geometry, transport, and tests.
Notes
This PR is intended to be a non-functional refactoring. No changes to the physics behaviour or public interfaces are expected.