[llvm-commits] [llvm] r54447 - /llvm/trunk/include/llvm/Target/TargetData.h
Matthijs Kooijman
matthijs at stdin.nl
Thu Aug 7 02:00:51 PDT 2008
Author: matthijs
Date: Thu Aug 7 04:00:46 2008
New Revision: 54447
URL: http://llvm.org/viewvc/llvm-project?rev=54447&view=rev
Log:
Remove trailing spaces.
Modified:
llvm/trunk/include/llvm/Target/TargetData.h
Modified: llvm/trunk/include/llvm/Target/TargetData.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetData.h?rev=54447&r1=54446&r2=54447&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Target/TargetData.h (original)
+++ llvm/trunk/include/llvm/Target/TargetData.h Thu Aug 7 04:00:46 2008
@@ -114,9 +114,9 @@
"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 @@
/// 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 @@
//! 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 @@
///
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 @@
uint64_t getSizeInBytes() const {
return StructSize;
}
-
+
uint64_t getSizeInBits() const {
return 8*StructSize;
}
@@ -264,7 +264,7 @@
unsigned getAlignment() const {
return StructAlignment;
}
-
+
/// getElementContainingOffset - Given a valid offset into the structure,
/// return the structure index that contains it.
///
More information about the llvm-commits
mailing list