forked from OSchip/llvm-project
parent
6eac20e8df
commit
51b7357159
|
@ -49,7 +49,6 @@ template <typename T> struct ProgramStatePartialTrait;
|
||||||
|
|
||||||
template <typename T> struct ProgramStateTrait {
|
template <typename T> struct ProgramStateTrait {
|
||||||
typedef typename T::data_type data_type;
|
typedef typename T::data_type data_type;
|
||||||
static inline void *GDMIndex() { return &T::TagInt; }
|
|
||||||
static inline void *MakeVoidPtr(data_type D) { return (void*) D; }
|
static inline void *MakeVoidPtr(data_type D) { return (void*) D; }
|
||||||
static inline data_type MakeData(void *const* P) {
|
static inline data_type MakeData(void *const* P) {
|
||||||
return P ? (data_type) *P : (data_type) 0;
|
return P ? (data_type) *P : (data_type) 0;
|
||||||
|
|
Loading…
Reference in New Issue