Partial revert of r222986.

The explicit set of destination types is not fully redundant when lazy loading
since the TypeFinder will not find types used only in function bodies.

This keeps the logic to drop the name of mapped types since it still helps
with avoiding further renaming.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223043 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola
2014-12-01 16:32:20 +00:00
parent 0b2f9a266d
commit d9788e9372
3 changed files with 43 additions and 5 deletions

View File

@@ -46,6 +46,7 @@ public:
private:
void init(Module *M, DiagnosticHandlerFunction DiagnosticHandler);
Module *Composite;
SmallPtrSet<StructType *, 32> IdentifiedStructTypes;
DiagnosticHandlerFunction DiagnosticHandler;
};