aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Type.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-09-13 06:18:04 +0000
committerChris Lattner <sabre@nondot.org>2007-09-13 06:18:04 +0000
commit53698d76943432de612a643954a0e7434008938c (patch)
treeb7f8593e15ada6cf4a000b6a53b631f4b70e4955 /include/llvm/Type.h
parent8a901985bc599df9dfd2fca0b8dd0da4585df8a7 (diff)
downloadexternal_llvm-53698d76943432de612a643954a0e7434008938c.zip
external_llvm-53698d76943432de612a643954a0e7434008938c.tar.gz
external_llvm-53698d76943432de612a643954a0e7434008938c.tar.bz2
remove dead enum value.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41925 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Type.h')
-rw-r--r--include/llvm/Type.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/include/llvm/Type.h b/include/llvm/Type.h
index 72e70b4..757e3c4 100644
--- a/include/llvm/Type.h
+++ b/include/llvm/Type.h
@@ -80,11 +80,10 @@ public:
IntegerTyID, ///< 7: Arbitrary bit width integers
FunctionTyID, ///< 8: Functions
StructTyID, ///< 9: Structures
- PackedStructTyID,///< 10: Packed Structure. This is for bitcode only
- ArrayTyID, ///< 11: Arrays
- PointerTyID, ///< 12: Pointers
- OpaqueTyID, ///< 13: Opaque: type with unknown structure
- VectorTyID, ///< 14: SIMD 'packed' format, or other vector type
+ ArrayTyID, ///< 10: Arrays
+ PointerTyID, ///< 11: Pointers
+ OpaqueTyID, ///< 12: Opaque: type with unknown structure
+ VectorTyID, ///< 13: SIMD 'packed' format, or other vector type
NumTypeIDs, // Must remain as last defined ID
LastPrimitiveTyID = LabelTyID,
@@ -230,8 +229,7 @@ public:
return true;
// If it is not something that can have a size (e.g. a function or label),
// it doesn't have a size.
- if (ID != StructTyID && ID != ArrayTyID && ID != VectorTyID &&
- ID != PackedStructTyID)
+ if (ID != StructTyID && ID != ArrayTyID && ID != VectorTyID)
return false;
// If it is something that can have a size and it's concrete, it definitely
// has a size, otherwise we have to try harder to decide.