aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Support/AlignOf.h
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2009-02-20 22:51:36 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2009-02-20 22:51:36 +0000
commitbc3135e12a3fcd2f7d4bd00b05f591f2a02f1a6a (patch)
tree0b78d06b18ccfef4e1aad7bbbf9b7f02fb90eb3c /include/llvm/Support/AlignOf.h
parentf7656333580979ea1bd5e1325e9b7d5f5b447131 (diff)
downloadexternal_llvm-bc3135e12a3fcd2f7d4bd00b05f591f2a02f1a6a.zip
external_llvm-bc3135e12a3fcd2f7d4bd00b05f591f2a02f1a6a.tar.gz
external_llvm-bc3135e12a3fcd2f7d4bd00b05f591f2a02f1a6a.tar.bz2
Removed trailing whitespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65196 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/AlignOf.h')
-rw-r--r--include/llvm/Support/AlignOf.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/llvm/Support/AlignOf.h b/include/llvm/Support/AlignOf.h
index aecb478..6a7a1a6 100644
--- a/include/llvm/Support/AlignOf.h
+++ b/include/llvm/Support/AlignOf.h
@@ -16,7 +16,7 @@
#define LLVM_SUPPORT_ALIGNOF_H
namespace llvm {
-
+
template <typename T>
struct AlignmentCalcImpl {
char x;
@@ -24,7 +24,7 @@ struct AlignmentCalcImpl {
private:
AlignmentCalcImpl() {} // Never instantiate.
};
-
+
/// AlignOf - A templated class that contains an enum value representing
/// the alignment of the template argument. For example,
/// AlignOf<int>::Alignment represents the alignment of type "int". The
@@ -41,9 +41,9 @@ struct AlignOf {
enum { Alignment_GreaterEqual_4Bytes = Alignment >= 4 ? 1 : 0 };
enum { Alignment_GreaterEqual_8Bytes = Alignment >= 8 ? 1 : 0 };
enum { Alignment_GreaterEqual_16Bytes = Alignment >= 16 ? 1 : 0 };
-
+
enum { Alignment_LessEqual_2Bytes = Alignment <= 2 ? 1 : 0 };
- enum { Alignment_LessEqual_4Bytes = Alignment <= 4 ? 1 : 0 };
+ enum { Alignment_LessEqual_4Bytes = Alignment <= 4 ? 1 : 0 };
enum { Alignment_LessEqual_8Bytes = Alignment <= 8 ? 1 : 0 };
enum { Alignment_LessEqual_16Bytes = Alignment <= 16 ? 1 : 0 };
@@ -55,6 +55,6 @@ struct AlignOf {
/// alignof<int>() returns the alignment of an int.
template <typename T>
static inline unsigned alignof() { return AlignOf<T>::Alignment; }
-
+
} // end namespace llvm
#endif