Landing: 6422bb490359
Project / Subsystem
gcc / ada
Date
2026-03-25
Author
Viljar Indus
Commit
6422bb490359aa43fbdf699195d7cc7e071a0fb1
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- ada
- patch_id
- —
- commit_hash
- 6422bb490359aa43fbdf699195d7cc7e071a0fb1
- source_type
- github
- headline
- Add boolean version of Warnings_Suppressed in Ada
- tldr
- The commit introduces a boolean overload of `Warnings_Suppressed` in Ada to simplify checking for suppressed warnings.
- author
- Viljar Indus
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • ada
- • warnings
- • error handling
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-03-25T00:00:00.000Z
This commit introduces a boolean overload for the Warnings_Suppressed function in Ada. This new overload simplifies code by allowing developers to check if warnings are suppressed at a specific location without needing to know the reason for the suppression. This improves code readability and reduces complexity in error handling.