Update type cache when a type is completed.
Radar 9168773 llvm-svn: 128150
This commit is contained in:
@@ -131,6 +131,13 @@ void CodeGenModule::Release() {
|
||||
EmitDeclMetadata();
|
||||
}
|
||||
|
||||
void CodeGenModule::UpdateCompletedType(const TagDecl *TD) {
|
||||
// Make sure that this type is translated.
|
||||
Types.UpdateCompletedType(TD);
|
||||
if (DebugInfo)
|
||||
DebugInfo->UpdateCompletedType(TD);
|
||||
}
|
||||
|
||||
llvm::MDNode *CodeGenModule::getTBAAInfo(QualType QTy) {
|
||||
if (!TBAA)
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user