Skip to content

Commit

Permalink
Renamed traverseDecl to TraverseDecl in a test
Browse files Browse the repository at this point in the history
RecursiveASTVisitor expects TraverseDecl to be implemented by
subclasses.
  • Loading branch information
gribozavr committed Jan 17, 2020
1 parent 05c7dc6 commit 0406b4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/unittests/Tooling/QualTypeNamesTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ struct TypeNameVisitor : TestVisitor<TypeNameVisitor> {

// ValueDecls are the least-derived decl with both a qualtype and a
// name.
bool traverseDecl(Decl *D) {
bool TraverseDecl(Decl *D) {
return true; // Always continue
}

Expand Down

0 comments on commit 0406b4f

Please sign in to comment.