mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Add default constructor to APSInt
- Creates uninitialized APInt. - Prevents need for embedding arbitrary constants when used as an out parameter, for example. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54757 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8bd79a8cae
commit
7fb842420a
@ -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