aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2012-02-07 00:39:47 +0000
committerChris Lattner <sabre@nondot.org>2012-02-07 00:39:47 +0000
commitece0409a1a45895985a18dfc6c77c497e7ea4de7 (patch)
tree29c4f735c9aff70edb239dee3050335ddd79c042 /clang/lib/CodeGen/CodeGenModule.h
parent8573dc7e1fbc5d7c8687ede1b34078b09ad1e07f (diff)
downloadllvm-ece0409a1a45895985a18dfc6c77c497e7ea4de7.zip
llvm-ece0409a1a45895985a18dfc6c77c497e7ea4de7.tar.gz
llvm-ece0409a1a45895985a18dfc6c77c497e7ea4de7.tar.bz2
simplify a bunch of code to use the well-known LLVM IR types computed by CodeGenModule.
llvm-svn: 149943
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h
index fb22beb..08e1ed7 100644
--- a/clang/lib/CodeGen/CodeGenModule.h
+++ b/clang/lib/CodeGen/CodeGenModule.h
@@ -102,8 +102,10 @@ namespace CodeGen {
/// void
llvm::Type *VoidTy;
- /// i8, i32, and i64
- llvm::IntegerType *Int8Ty, *Int32Ty, *Int64Ty;
+ /// i8, i16, i32, and i64
+ llvm::IntegerType *Int8Ty, *Int16Ty, *Int32Ty, *Int64Ty;
+ /// float, double
+ llvm::Type *FloatTy, *DoubleTy;
/// int
llvm::IntegerType *IntTy;