aboutsummaryrefslogtreecommitdiff
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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Analysis/FindUsedTypes.h b/include/llvm/Analysis/FindUsedTypes.h
index b22cb88135133..574c947f4ebb0 100644
--- a/include/llvm/Analysis/FindUsedTypes.h
+++ b/include/llvm/Analysis/FindUsedTypes.h
@@ -39,7 +39,7 @@ public:
/// passed in, then the types are printed symbolically if possible, using the
/// symbol table from the module.
///
- void print(raw_ostream &o, const Module *M) const;
+ void print(raw_ostream &o, const Module *M) const override;
private:
/// IncorporateType - Incorporate one type and all of its subtypes into the
@@ -53,10 +53,10 @@ private:
public:
/// run - This incorporates all types used by the specified module
- bool runOnModule(Module &M);
+ bool runOnModule(Module &M) override;
/// getAnalysisUsage - We do not modify anything.
- virtual void getAnalysisUsage(AnalysisUsage &AU) const {
+ void getAnalysisUsage(AnalysisUsage &AU) const override {
AU.setPreservesAll();
}
};