diff options
author | Craig Topper <craig.topper@intel.com> | 2017-06-18 18:15:41 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2017-06-18 18:15:41 +0000 |
commit | c85be52fd89a3e90cbe2e497c7e805e6e2303bc6 (patch) | |
tree | 5955d5005bcc06160441ad3ba3d07a8ddba23609 /llvm/include | |
parent | d96177cf72c5a17a0192df84bd13db16a5d7c451 (diff) | |
download | bcm5719-llvm-c85be52fd89a3e90cbe2e497c7e805e6e2303bc6.tar.gz bcm5719-llvm-c85be52fd89a3e90cbe2e497c7e805e6e2303bc6.zip |
[APFloat] Move the integerPartWidth constant into APFloatBase. Remove integerPart typedef at file scope and just use the one in APFloatBase everywhere. NFC
llvm-svn: 305652
Diffstat (limited to 'llvm/include')
-rw-r--r-- | llvm/include/llvm/ADT/APFloat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/ADT/APFloat.h b/llvm/include/llvm/ADT/APFloat.h index bef6efde1f0..9c5e392c480 100644 --- a/llvm/include/llvm/ADT/APFloat.h +++ b/llvm/include/llvm/ADT/APFloat.h @@ -140,8 +140,8 @@ enum lostFraction { // Example of truncated bits: // implementation classes. This struct should not define any non-static data // members. struct APFloatBase { - // TODO remove this and use APInt typedef directly. typedef APInt::WordType integerPart; + static const unsigned integerPartWidth = APInt::APINT_BITS_PER_WORD; /// A signed type to represent a floating point numbers unbiased exponent. typedef signed short ExponentType; |