diff options
author | Chris Lattner <sabre@nondot.org> | 2009-04-01 02:36:43 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-04-01 02:36:43 +0000 |
commit | 285d0dba947b7c9960eaa88e8c4fced0398d4319 (patch) | |
tree | 7f13cbb8bfb8e2e4383952425543ff52ba31b252 /lib/CodeGen/CodeGenTypes.h | |
parent | 5ad0f6778556535dca448e9d82e674d2d255ad06 (diff) |
fix the two xfails I added with a previous patch by making ObjC interface
types get completed when their definition is seen if previously laid out by
the code generator.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68177 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenTypes.h')
-rw-r--r-- | lib/CodeGen/CodeGenTypes.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenTypes.h b/lib/CodeGen/CodeGenTypes.h index b408ff66a6..813ff8b2a2 100644 --- a/lib/CodeGen/CodeGenTypes.h +++ b/lib/CodeGen/CodeGenTypes.h @@ -161,6 +161,8 @@ public: /// UpdateCompletedType - When we find the full definition for a TagDecl, /// replace the 'opaque' type we previously made for it if applicable. void UpdateCompletedType(const TagDecl *TD); + /// Likewise for an ObjC Interface. + void UpdateCompletedType(const ObjCInterfaceDecl *OID); /// getFunctionInfo - Get the CGFunctionInfo for this function signature. const CGFunctionInfo &getFunctionInfo(QualType RetTy, |