Landing: 8ee8f2beab43
Project / Subsystem
gcc / gcc/c++/reflection
Date
2026-06-18
Author
Marek Polacek
Commit
8ee8f2beab432c57a5b68b8816910c985c8e9356
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc/c++/reflection
- patch_id
- —
- commit_hash
- 8ee8f2beab432c57a5b68b8816910c985c8e9356
- source_type
- github
- headline
- C++/reflection: members_of skips built-in functions.
- tldr
- Reflection API now correctly excludes built-in functions from member listings.
- author
- Marek Polacek
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • c++
- • reflection
- • compiler
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-06-18T00:00:00.000Z
The C++ reflection API’s members_of function no longer includes compiler built-ins, such as __builtin_fdimf32x. This change uses DECL_IS_UNDECLARED_BUILTIN to filter these out, significantly reducing the number of elements returned and producing more accurate results for reflection queries.