mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-23 12:08:25 +00:00
Add default constructor to APSInt
- Creates uninitialized APInt. - Prevents need for embedding arbitrary constants when used as an out parameter, for example. llvm-svn: 54757
This commit is contained in:
parent
4e592412d4
commit
e249d30421
@ -23,6 +23,9 @@ namespace llvm {
|
||||
class APSInt : public APInt {
|
||||
bool IsUnsigned;
|
||||
public:
|
||||
/// Default constructor that creates an uninitialized APInt.
|
||||
explicit APSInt() {}
|
||||
|
||||
/// APSInt ctor - Create an APSInt with the specified width, default to
|
||||
/// unsigned.
|
||||
explicit APSInt(uint32_t BitWidth, bool isUnsigned = true)
|
||||
|
Loading…
Reference in New Issue
Block a user