mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-23 05:29:23 +00:00
Fix clang-cl self-host -Wc++11-narrowing bug
Use unsigned as the underlying storage type of the AMDGPU address space enum. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239355 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1666977cd0
commit
b65591326e
@ -105,7 +105,7 @@ namespace ShaderType {
|
||||
/// a separate piece of memory that is unique from other
|
||||
/// memory locations.
|
||||
namespace AMDGPUAS {
|
||||
enum AddressSpaces {
|
||||
enum AddressSpaces : unsigned {
|
||||
PRIVATE_ADDRESS = 0, ///< Address space for private memory.
|
||||
GLOBAL_ADDRESS = 1, ///< Address space for global memory (RAT0, VTX0).
|
||||
CONSTANT_ADDRESS = 2, ///< Address space for constant memory
|
||||
|
Loading…
x
Reference in New Issue
Block a user