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.

* 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