mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-17 19:40:28 +00:00
When mapping Carbon types to C++ types, check first for the Carbon type being imported from C++ before checking whether it's an adapter for a builtin. Enums imported from C++ will be both, and it's important we map them back to the enum type rather than to their underlying (integer) type. Fixes #6061