mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 15:31:26 +12:00
LLVM DSL: fix pointer type traits
Clear and match 'void' type
This commit is contained in:
parent
dc9118ef50
commit
3925cb59ac
1 changed files with 6 additions and 0 deletions
|
@ -298,6 +298,12 @@ struct llvm_value_t<T*> : llvm_value_t<T>
|
|||
using base = llvm_value_t<T>;
|
||||
using base::base;
|
||||
|
||||
static constexpr uint esize = 64;
|
||||
static constexpr bool is_int = false;
|
||||
static constexpr bool is_sint = false;
|
||||
static constexpr bool is_uint = false;
|
||||
static constexpr bool is_float = false;
|
||||
static constexpr uint is_vector = false;
|
||||
static constexpr uint is_pointer = llvm_value_t<T>::is_pointer + 1;
|
||||
|
||||
static llvm::Type* get_type(llvm::LLVMContext& context)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue