summaryrefslogtreecommitdiff
path: root/include/llvm/Analysis/FindUsedTypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Analysis/FindUsedTypes.h')
-rw-r--r--include/llvm/Analysis/FindUsedTypes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Analysis/FindUsedTypes.h b/include/llvm/Analysis/FindUsedTypes.h
index 8a78eb6249..1337385848 100644
--- a/include/llvm/Analysis/FindUsedTypes.h
+++ b/include/llvm/Analysis/FindUsedTypes.h
@@ -26,7 +26,7 @@ class FindUsedTypes : public ModulePass {
std::set<const Type *> UsedTypes;
public:
static char ID; // Pass identification, replacement for typeid
- FindUsedTypes() : ModulePass(ID) {}
+ FindUsedTypes() : ModulePass(&ID) {}
/// getTypes - After the pass has been run, return the set containing all of
/// the types used in the module.