mirror of
https://github.com/intel/llvm.git
synced 2026-01-16 13:35:38 +08: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