Renamed traverseDecl to TraverseDecl in a test

RecursiveASTVisitor expects TraverseDecl to be implemented by
subclasses.
This commit is contained in:
Dmitri Gribenko 2020-01-17 17:02:59 +01:00
parent 05c7dc6648
commit 0406b4fab9
1 changed files with 1 additions and 1 deletions

View File

@ -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
}