aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthijs Kooijman <matthijs@stdin.nl>2008-08-07 09:00:46 +0000
committerMatthijs Kooijman <matthijs@stdin.nl>2008-08-07 09:00:46 +0000
commitd829e6fdee7a26f97433d7946e22acd774a3e8fd (patch)
tree1faae699c4fc98f99aa3ad5115d0139bb6dcfa67
parente2c5ecd46a3a2c2cd11de8c5dadd5d52a2801420 (diff)
Remove trailing spaces.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54447 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Target/TargetData.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/llvm/Target/TargetData.h b/include/llvm/Target/TargetData.h
index 2d9dc076e2..7c274cec2d 100644
--- a/include/llvm/Target/TargetData.h
+++ b/include/llvm/Target/TargetData.h
@@ -114,9 +114,9 @@ public:
"Tool did not specify a TargetData to use?");
abort();
}
-
+
/// Constructs a TargetData from a specification string. See init().
- explicit TargetData(const std::string &TargetDescription)
+ explicit TargetData(const std::string &TargetDescription)
: ImmutablePass(intptr_t(&ID)) {
init(TargetDescription);
}
@@ -124,7 +124,7 @@ public:
/// Initialize target data from properties stored in the module.
explicit TargetData(const Module *M);
- TargetData(const TargetData &TD) :
+ TargetData(const TargetData &TD) :
ImmutablePass(intptr_t(&ID)),
LittleEndian(TD.isLittleEndian()),
PointerMemSize(TD.PointerMemSize),
@@ -137,7 +137,7 @@ public:
//! Parse a target data layout string and initialize TargetData alignments.
void init(const std::string &TargetDescription);
-
+
/// Target endianness...
bool isLittleEndian() const { return LittleEndian; }
bool isBigEndian() const { return !LittleEndian; }
@@ -218,12 +218,12 @@ public:
///
uint64_t getIndexedOffset(const Type *Ty,
Value* const* Indices, unsigned NumIndices) const;
-
+
/// getStructLayout - Return a StructLayout object, indicating the alignment
/// of the struct, its size, and the offsets of its fields. Note that this
/// information is lazily cached.
const StructLayout *getStructLayout(const StructType *Ty) const;
-
+
/// InvalidateStructLayoutInfo - TargetData speculatively caches StructLayout
/// objects. If a TargetData object is alive when types are being refined and
/// removed, this method must be called whenever a StructType is removed to
@@ -256,7 +256,7 @@ public:
uint64_t getSizeInBytes() const {
return StructSize;
}
-
+
uint64_t getSizeInBits() const {
return 8*StructSize;
}
@@ -264,7 +264,7 @@ public:
unsigned getAlignment() const {
return StructAlignment;
}
-
+
/// getElementContainingOffset - Given a valid offset into the structure,
/// return the structure index that contains it.
///