llvm/clang/unittests/AST/RecursiveASTVisitorTest.cpp

//===- unittest/AST/RecursiveASTVisitorTest.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 "clang/AST/RecursiveASTVisitor.h"
#include "clang/AST/ASTConsumer.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/Attr.h"
#include "clang/AST/Decl.h"
#include "clang/AST/TypeLoc.h"
#include "clang/Frontend/FrontendAction.h"
#include "clang/Tooling/Tooling.h"
#include "llvm/ADT/FunctionExtras.h"
#include "llvm/ADT/STLExtras.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include <cassert>

usingnamespaceclang;
ElementsAre;

namespace {
class ProcessASTAction : public clang::ASTFrontendAction {};

enum class VisitEvent {};

class CollectInterestingEvents
    : public RecursiveASTVisitor<CollectInterestingEvents> {};

std::vector<VisitEvent> collectEvents(llvm::StringRef Code,
                                      const Twine &FileName = "input.cc") {}
} // namespace

TEST(RecursiveASTVisitorTest, AttributesInsideDecls) {}

TEST(RecursiveASTVisitorTest, EnumDeclWithBase) {}

TEST(RecursiveASTVisitorTest, InterfaceDeclWithProtocols) {}