mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-30 00:11:17 +00:00
If we have a function with signature f(addr_t, AddressClass), it is easy to muddle up the order of arguments without any warnings from compiler. 'enum class' prevents passing integer in place of AddressClass and vice versa. llvm-svn: 335599