Index: base/compiler_specific.h |
diff --git a/base/compiler_specific.h b/base/compiler_specific.h |
index 0f4c058b3be43963d76c23b0b3b8ec89fc8b3767..8eb78dd0c7afe8780c452b7d4d38a7f6b541c829 100644 |
--- a/base/compiler_specific.h |
+++ b/base/compiler_specific.h |
@@ -108,25 +108,6 @@ |
#define ALWAYS_INLINE inline |
#endif |
-// Specify memory alignment for structs, classes, etc. |
-// Use like: |
-// class ALIGNAS(16) MyClass { ... } |
-// ALIGNAS(16) int array[4]; |
-#if defined(COMPILER_MSVC) |
-#define ALIGNAS(byte_alignment) __declspec(align(byte_alignment)) |
-#elif defined(COMPILER_GCC) |
-#define ALIGNAS(byte_alignment) __attribute__((aligned(byte_alignment))) |
-#endif |
- |
-// Return the byte alignment of the given type (available at compile time). |
-// Use like: |
-// ALIGNOF(int32_t) // this would be 4 |
-#if defined(COMPILER_MSVC) |
-#define ALIGNOF(type) __alignof(type) |
-#elif defined(COMPILER_GCC) |
-#define ALIGNOF(type) __alignof__(type) |
-#endif |
- |
// Annotate a function indicating the caller must examine the return value. |
// Use like: |
// int foo() WARN_UNUSED_RESULT; |