mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-01 20:55:58 +01: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