-
-
Notifications
You must be signed in to change notification settings - Fork 376
Use std17 standard and clang tidy on build #2941
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
Use std17 standard and clang tidy on build #2941
Conversation
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the WalkthroughThis change updates the build and documentation system to modernize CMake configuration, explicitly require C++17, and add optional clang-tidy static analysis support. It introduces a Changes
Sequence Diagram(s)sequenceDiagram
participant Developer
participant CMake
participant Clang-Tidy
participant CI Workflow
Developer->>CMake: Configure build with -DUSE_CLANG_TIDY=ON
CMake->>Clang-Tidy: Enable static analysis (if available)
CMake->>CI Workflow: Build with C++17, docs, and optional clang-tidy
CI Workflow->>Clang-Tidy: Run checks per .clang-tidy config
Clang-Tidy-->>CI Workflow: Report analysis results
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~15 minutes Suggested labels
Suggested reviewers
Poem
✨ Finishing Touches🧪 Generate unit tests
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
@coderabbitai summary |
@cvvergara I'll generate a summary and conduct a comprehensive review of this PR that modernizes pgRouting to use the C++17 standard and enables clang-tidy for improved code quality. 🧠 Learnings used
✅ Actions performedSummary regeneration triggered. |
This PR will fulfill the necessary changes for starting to use
std17
standard for C++See MOTION for details
@pgRouting/admins
Summary by CodeRabbit
Chores
Documentation