aboutsummaryrefslogtreecommitdiff
path: root/unittests/AST/NamedDeclPrinterTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'unittests/AST/NamedDeclPrinterTest.cpp')
-rw-r--r--unittests/AST/NamedDeclPrinterTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/AST/NamedDeclPrinterTest.cpp b/unittests/AST/NamedDeclPrinterTest.cpp
index f8fb98454bd7..cf97a0abf6c8 100644
--- a/unittests/AST/NamedDeclPrinterTest.cpp
+++ b/unittests/AST/NamedDeclPrinterTest.cpp
@@ -37,7 +37,7 @@ public:
explicit PrintMatch(bool suppressUnwrittenScope)
: NumFoundDecls(0), SuppressUnwrittenScope(suppressUnwrittenScope) {}
- virtual void run(const MatchFinder::MatchResult &Result) {
+ void run(const MatchFinder::MatchResult &Result) override {
const NamedDecl *ND = Result.Nodes.getNodeAs<NamedDecl>("id");
if (!ND)
return;