Add support for host/device stub functions for offload.
This commit is contained in:
12
type.h
12
type.h
@@ -115,6 +115,18 @@ public:
|
||||
integer types. */
|
||||
virtual bool IsUnsignedType() const = 0;
|
||||
|
||||
/** Returns true if the underlying type is either a pointer type */
|
||||
bool IsPointerType() const;
|
||||
|
||||
/** Returns true if the underlying type is a array type */
|
||||
bool IsArrayType() const;
|
||||
|
||||
/** Returns true if the underlying type is a array type */
|
||||
bool IsReferenceType() const;
|
||||
|
||||
/** Returns true if the underlying type is either a pointer or an array */
|
||||
bool IsVoidType() const;
|
||||
|
||||
/** Returns true if this type is 'const'-qualified. */
|
||||
virtual bool IsConstType() const = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user