[APFloat] Rename llvm::exponent_t => llvm::APFloat::ExponentType.

exponent_t is only used internally in APFloat and no exponent_t values are
exposed via the APFloat API. In light of such conditions it does not make any
sense to gum up the llvm namespace with said type. Plus it makes it clearer that
exponent_t is associated with APFloat.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184686 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Michael Gottesman
2013-06-24 04:06:23 +00:00
parent cbfa1ca993
commit db045ab153
2 changed files with 9 additions and 9 deletions

View File

@@ -21,9 +21,6 @@
namespace llvm {
/// A signed type to represent a floating point numbers unbiased exponent.
typedef signed short exponent_t;
struct fltSemantics;
class APSInt;
class StringRef;
@@ -125,6 +122,9 @@ enum lostFraction { // Example of truncated bits:
class APFloat {
public:
/// A signed type to represent a floating point numbers unbiased exponent.
typedef signed short ExponentType;
/// \name Floating Point Semantics.
/// @{
@@ -555,7 +555,7 @@ private:
} significand;
/// The signed unbiased exponent of the value.
exponent_t exponent;
ExponentType exponent;
/// What kind of floating point number this is.
///