Skip to content

Add additional clang flags#85

Merged
derobins merged 1 commit into
developfrom
derobins/additional-clang-warnings
Nov 24, 2025
Merged

Add additional clang flags#85
derobins merged 1 commit into
developfrom
derobins/additional-clang-warnings

Conversation

@derobins
Copy link
Copy Markdown
Collaborator

-ftrivial-auto-var-init=pattern
-Wmissing-noreturn
-Wtautological-constant-in-range-compare
-Wthread-safety-beta
-Wthread-safety-negative
-Wthread-safety-pointer
-Wthread-safety-verbose

-ftrivial-auto-var-init=pattern
-Wmissing-noreturn
-Wtautological-constant-in-range-compare
-Wthread-safety-beta
-Wthread-safety-negative
-Wthread-safety-pointer
-Wthread-safety-verbose
Copilot AI review requested due to automatic review settings November 24, 2025 18:08
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR enhances Clang compiler security and diagnostic capabilities by adding additional warning flags and initialization options. The changes focus on thread-safety analysis, automatic variable initialization, and enabling previously commented-out warnings.

Key changes:

  • Added thread-safety warning flags (-Wthread-safety-beta, -Wthread-safety-negative, -Wthread-safety-verbose, -Wthread-safety-pointer)
  • Enabled automatic variable initialization with pattern (-ftrivial-auto-var-init=pattern)
  • Re-enabled -Wmissing-noreturn warning flag

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@derobins derobins merged commit d5c2549 into develop Nov 24, 2025
32 checks passed
@derobins derobins deleted the derobins/additional-clang-warnings branch November 24, 2025 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants