aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-03-05 09:10:37 +0000
committerCraig Topper <craig.topper@gmail.com>2014-03-05 09:10:37 +0000
commit3e4c697ca1314da24ac34e42293cc28d88fdc134 (patch)
tree7a935b36554394c06777483ad27cf41e23360ead /llvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp
parent6a927ecb7a98e2c9a25b724f96f153749ca475dd (diff)
downloadllvm-3e4c697ca1314da24ac34e42293cc28d88fdc134.zip
llvm-3e4c697ca1314da24ac34e42293cc28d88fdc134.tar.gz
llvm-3e4c697ca1314da24ac34e42293cc28d88fdc134.tar.bz2
[C++11] Add 'override' keyword to virtual methods that override their base class.
llvm-svn: 202953
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp')
-rw-r--r--llvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp b/llvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp
index 31474d3..bc022600 100644
--- a/llvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp
+++ b/llvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp
@@ -81,9 +81,9 @@ struct ThreadSanitizer : public FunctionPass {
DL(0),
BlacklistFile(BlacklistFile.empty() ? ClBlacklistFile
: BlacklistFile) { }
- const char *getPassName() const;
- bool runOnFunction(Function &F);
- bool doInitialization(Module &M);
+ const char *getPassName() const override;
+ bool runOnFunction(Function &F) override;
+ bool doInitialization(Module &M) override;
static char ID; // Pass identification, replacement for typeid.
private: