Skip to content

Conversation

@chqrlie
Copy link
Contributor

@chqrlie chqrlie commented Jan 3, 2026

  • add WarningKind enumeration and simplify Flags structure
  • rename warning_flags.Flags as WarningFlags
  • remove temporary unreachable code hack
  • all targets have all warnings enabled by default
  • extend WarningFlags type with type functions
  • simplify Target.enableWarnings() and Target.disableWarnings()
  • add warnings for const-return-type and idiomatic-parentheses
  • accept both '$warnings unused' and '$warnings no-unused' etc.

@chqrlie chqrlie force-pushed the warnings branch 2 times, most recently from 1df03b7 to d5b5487 Compare January 27, 2026 14:05
* add `WarningKind` enumeration and simplify `Flags` structure
* rename `warning_flags.Flags` as `WarningFlags`
* remove temporary unreachable code hack
* all targets have all warnings enabled by default
* extend `WarningFlags` type with type functions
* simplify `Target.enableWarnings()` and `Target.disableWarnings()`
* add warnings for `const-return-type` and `idiomatic-parentheses`
* accept both '$warnings unused' and '$warnings no-unused' etc.
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.

1 participant