aboutsummaryrefslogtreecommitdiff
path: root/CodeGen/CodeGenTypes.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-02-06 05:08:19 +0000
committerChris Lattner <sabre@nondot.org>2008-02-06 05:08:19 +0000
commitc5b8806cda286cf41866176ef98011fdaa68da01 (patch)
treef196dd8e2f678dddc4c34878db50dc360fc1258d /CodeGen/CodeGenTypes.h
parent352ffde2f04183083fc00427df81d1b25f8c750c (diff)
sink more of the type related code into CodeGenTypes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46801 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CodeGen/CodeGenTypes.h')
-rw-r--r--CodeGen/CodeGenTypes.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/CodeGen/CodeGenTypes.h b/CodeGen/CodeGenTypes.h
index b60b9bab3a..2ce718579b 100644
--- a/CodeGen/CodeGenTypes.h
+++ b/CodeGen/CodeGenTypes.h
@@ -138,10 +138,9 @@ public:
unsigned getLLVMFieldNo(const FieldDecl *FD);
- /// ForceTypeCompilation - When we find the definition for a type, we require
- /// it to be recompiled, to update the lazy understanding of what it is in our
- /// maps.
- void ForceTypeCompilation(QualType T);
+ /// 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);
public: // These are internal details of CGT that shouldn't be used externally.
void DecodeArgumentTypes(const FunctionTypeProto &FTP,