aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenTypes.h
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2009-03-05 03:16:41 +0000
committerEli Friedman <eli.friedman@gmail.com>2009-03-05 03:16:41 +0000
commitb3b6b9b27ab8bdb2a435a5a92ce62e74e3399377 (patch)
tree6d8bba2005fc21c5b8c26f4fb36a0e427143cac8 /lib/CodeGen/CodeGenTypes.h
parentefcfcc0e27ade4e0bb6626824f2bdc0a01bab32b (diff)
Initial implementation of CodeGen for incomplete function types; fixes
PR3688. (The FIXME is a rather big performance issue, but it only affects code using this feature, which is relatively rare.) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66128 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenTypes.h')
-rw-r--r--lib/CodeGen/CodeGenTypes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenTypes.h b/lib/CodeGen/CodeGenTypes.h
index 186b44373f..bdf0ac6d02 100644
--- a/lib/CodeGen/CodeGenTypes.h
+++ b/lib/CodeGen/CodeGenTypes.h
@@ -89,6 +89,8 @@ class CodeGenTypes {
llvm::DenseMap<const Type*, llvm::PATypeHolder> TagDeclTypes;
+ llvm::DenseMap<const Type*, llvm::PATypeHolder> FunctionTypes;
+
/// CGRecordLayouts - This maps llvm struct type with corresponding
/// record layout info.
/// FIXME : If CGRecordLayout is less than 16 bytes then use