diff options
author | Craig Topper <craig.topper@gmail.com> | 2014-03-15 04:29:04 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2014-03-15 04:29:04 +0000 |
commit | fb6b25b5e4cf09cf971f83d20a6b6eea9f04842c (patch) | |
tree | 122cd4b3e2604249f5e838a6e41abe2a032bea64 /clang/lib/StaticAnalyzer/Checkers/DeadStoresChecker.cpp | |
parent | e3bfdc4e14bedf433b838963d6936dcc2fceb511 (diff) | |
download | bcm5719-llvm-fb6b25b5e4cf09cf971f83d20a6b6eea9f04842c.tar.gz bcm5719-llvm-fb6b25b5e4cf09cf971f83d20a6b6eea9f04842c.zip |
[C++11] Add 'override' keyword to virtual methods that override their base class.
llvm-svn: 203999
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/DeadStoresChecker.cpp')
-rw-r--r-- | clang/lib/StaticAnalyzer/Checkers/DeadStoresChecker.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/StaticAnalyzer/Checkers/DeadStoresChecker.cpp b/clang/lib/StaticAnalyzer/Checkers/DeadStoresChecker.cpp index e804ae3009b..6001a3cd61b 100644 --- a/clang/lib/StaticAnalyzer/Checkers/DeadStoresChecker.cpp +++ b/clang/lib/StaticAnalyzer/Checkers/DeadStoresChecker.cpp @@ -255,8 +255,8 @@ public: return false; } - virtual void observeStmt(const Stmt *S, const CFGBlock *block, - const LiveVariables::LivenessValues &Live) { + void observeStmt(const Stmt *S, const CFGBlock *block, + const LiveVariables::LivenessValues &Live) override { currentBlock = block; |