1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

Add new constructor for const pool bool

llvm-svn: 245
This commit is contained in:
Chris Lattner 2001-07-21 19:15:26 +00:00
parent 45cddb6e02
commit 76e199ffd2

View File

@ -70,8 +70,10 @@ public:
// isSigned - Return whether a numeric type is signed.
virtual bool isSigned() const { return 1; }
// isIntegral - Return whether this is one of the integer types
// isIntegral - Equivalent to isSigned() || isUnsigned, but with only a single
// virtual function invocation.
//
virtual bool isIntegral() const { return 1; }
};
@ -84,8 +86,10 @@ public:
// isUnsigned - Return whether a numeric type is signed.
virtual bool isUnsigned() const { return 1; }
// isIntegral - Return whether this is one of the integer types
// isIntegral - Equivalent to isSigned() || isUnsigned, but with only a single
// virtual function invocation.
//
virtual bool isIntegral() const { return 1; }
};