Landing: 525494c18742
Project / Subsystem
gcc / c++
Date
2026-07-31
Author
Jakub Jelinek
Commit
525494c18742ef917ef046584af6dd78f713a449
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- c++
- patch_id
- —
- commit_hash
- 525494c18742ef917ef046584af6dd78f713a449
- source_type
- github
- headline
- C++: Improve diagnostics for nullptr_t and meta::info types
- tldr
- Compiler diagnostics now provide clearer information about nullptr_t and meta::info types.
- author
- Jakub Jelinek
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • c++
- • diagnostics
- • reflection
- • nullptr
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-31T00:00:00.000Z
This commit enhances the compiler’s diagnostic messages for std::nullptr_t and std::meta::info types. Previously, these types, along with their qualified versions (e.g., const volatile), were often printed identically in error messages, losing important information. The updated diagnostics now correctly display qualifiers and differentiate between type aliases and direct decltype expressions, making it easier for developers to understand and debug issues related to these types, particularly in reflection and static assertion failures.