diff options
author | Chris Lattner <sabre@nondot.org> | 2008-08-17 04:58:58 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-08-17 04:58:58 +0000 |
commit | 9f17eb0b79717d479e462f0284442adbeae903ef (patch) | |
tree | ce7cb0fd13223e44a3af45e207fa6c5b4dadfe93 /include/llvm/ADT/APInt.h | |
parent | c97536e6a7834212aafd25f2673234fc88b5e5bb (diff) | |
download | llvm-9f17eb0b79717d479e462f0284442adbeae903ef.tar.gz llvm-9f17eb0b79717d479e462f0284442adbeae903ef.tar.bz2 llvm-9f17eb0b79717d479e462f0284442adbeae903ef.tar.xz |
remove a dead APInt ctor.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54869 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT/APInt.h')
-rw-r--r-- | include/llvm/ADT/APInt.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/include/llvm/ADT/APInt.h b/include/llvm/ADT/APInt.h index bf84cbb2c6..9e8119d7a3 100644 --- a/include/llvm/ADT/APInt.h +++ b/include/llvm/ADT/APInt.h @@ -19,8 +19,6 @@ #include <cassert> #include <string> -#define COMPILE_TIME_ASSERT(cond) extern int CTAssert[(cond) ? 1 : -1] - namespace llvm { class Serializer; class Deserializer; @@ -180,17 +178,6 @@ public: /// @brief Construct an APInt of numBits width, initialized as bigVal[]. APInt(uint32_t numBits, uint32_t numWords, const uint64_t bigVal[]); - /// This constructor interprets Val as a string in the given radix. The - /// interpretation stops when the first charater that is not suitable for the - /// radix is encountered. Acceptable radix values are 2, 8, 10 and 16. It is - /// an error for the value implied by the string to require more bits than - /// numBits. - /// @param numBits the bit width of the constructed APInt - /// @param val the string to be interpreted - /// @param radix the radix of Val to use for the intepretation - /// @brief Construct an APInt from a string representation. - APInt(uint32_t numBits, const std::string& val, uint8_t radix); - /// This constructor interprets the slen characters starting at StrStart as /// a string in the given radix. The interpretation stops when the first /// character that is not suitable for the radix is encountered. Acceptable |