Landing: dc76a7f5c604
Project / Subsystem
gcc / gcc
Date
2026-06-25
Author
Iain Sandoe
Commit
dc76a7f5c60459f467f8cc371e9c3e507669e3ad
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc
- patch_id
- —
- commit_hash
- dc76a7f5c60459f467f8cc371e9c3e507669e3ad
- source_type
- github
- headline
- objective-c,c++: Make declarations language-aware [PR124260].
- tldr
- Objective-C++ declarations now correctly use language-specific data during creation.
- author
- Iain Sandoe
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • objective-c
- • c++
- • language
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-06-25T00:00:00.000Z
This change ensures that declarations in Objective-C++ are built with language-specific data. This is crucial because Objective-C metadata requires extern “C” linkage, and the language-specific data is necessary to record this correctly. The modification involves updating various Objective-C functions to use a new objc_build_decl helper function, which properly handles Objective-C++ specific requirements.