aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Linker.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Linker.h')
-rw-r--r--include/llvm/Linker.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Linker.h b/include/llvm/Linker.h
index deaaca4155..3667b8521d 100644
--- a/include/llvm/Linker.h
+++ b/include/llvm/Linker.h
@@ -10,12 +10,14 @@
#ifndef LLVM_LINKER_H
#define LLVM_LINKER_H
+#include "llvm/ADT/SmallPtrSet.h"
#include <string>
namespace llvm {
class Module;
class StringRef;
+class StructType;
/// This class provides the core functionality of linking in LLVM. It keeps a
/// pointer to the merged module so far. It doesn't take ownership of the
@@ -47,6 +49,7 @@ class Linker {
private:
Module *Composite;
+ SmallPtrSet<StructType*, 32> IdentifiedStructTypes;
};
} // End llvm namespace