llvm/clang/unittests/Tooling/LexicallyOrderedRecursiveASTVisitorTest.cpp

//===- unittest/Tooling/LexicallyOrderedRecursiveASTVisitorTest.cpp -------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "TestVisitor.h"
#include "clang/AST/LexicallyOrderedRecursiveASTVisitor.h"
#include <stack>

usingnamespaceclang;

namespace {

class DummyMatchVisitor;

class LexicallyOrderedDeclVisitor
    : public LexicallyOrderedRecursiveASTVisitor<LexicallyOrderedDeclVisitor> {};

class DummyMatchVisitor : public ExpectedLocationVisitor<DummyMatchVisitor> {};

bool LexicallyOrderedDeclVisitor::TraverseStmt(Stmt *S) {}

bool LexicallyOrderedDeclVisitor::VisitNamedDecl(const NamedDecl *D) {}

bool LexicallyOrderedDeclVisitor::VisitDeclRefExpr(const DeclRefExpr *D) {}

TEST(LexicallyOrderedRecursiveASTVisitor, VisitDeclsInImplementation) {}

TEST(LexicallyOrderedRecursiveASTVisitor, VisitMacroDeclsInImplementation) {}

TEST(LexicallyOrderedRecursiveASTVisitor, VisitTemplateDecl) {}

TEST(LexicallyOrderedRecursiveASTVisitor, VisitCXXOperatorCallExpr) {}

} // end anonymous namespace