summaryrefslogtreecommitdiffstats
path: root/clang/unittests/ASTMatchers/ASTMatchersTest.cpp
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2014-10-01 16:56:40 +0000
committerFariborz Jahanian <fjahanian@apple.com>2014-10-01 16:56:40 +0000
commit5afc869f9677210c0a2c2ff8239e3a386cd7db26 (patch)
tree9f2672a044a3f4a47cc6d5fbbd9f045a853efb50 /clang/unittests/ASTMatchers/ASTMatchersTest.cpp
parente825f44761d8a2f36e075caeaefb2286264910d9 (diff)
downloadbcm5719-llvm-5afc869f9677210c0a2c2ff8239e3a386cd7db26.tar.gz
bcm5719-llvm-5afc869f9677210c0a2c2ff8239e3a386cd7db26.zip
Adds 'override' to overriding methods. NFC.
These were uncoveredby my yet undelivered patch. llvm-svn: 218774
Diffstat (limited to 'clang/unittests/ASTMatchers/ASTMatchersTest.cpp')
-rw-r--r--clang/unittests/ASTMatchers/ASTMatchersTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/unittests/ASTMatchers/ASTMatchersTest.cpp b/clang/unittests/ASTMatchers/ASTMatchersTest.cpp
index f16e5a0cf04..4eb4c0d6727 100644
--- a/clang/unittests/ASTMatchers/ASTMatchersTest.cpp
+++ b/clang/unittests/ASTMatchers/ASTMatchersTest.cpp
@@ -725,7 +725,7 @@ public:
EXPECT_EQ("", Name);
}
- virtual bool run(const BoundNodes *Nodes) {
+ virtual bool run(const BoundNodes *Nodes) override {
const BoundNodes::IDToNodeMap &M = Nodes->getMap();
if (Nodes->getNodeAs<T>(Id)) {
++Count;
@@ -747,7 +747,7 @@ public:
return false;
}
- virtual bool run(const BoundNodes *Nodes, ASTContext *Context) {
+ virtual bool run(const BoundNodes *Nodes, ASTContext *Context) override {
return run(Nodes);
}
OpenPOWER on IntegriCloud