llvm/clang/unittests/Tooling/RecursiveASTVisitorTests/Class.cpp

//===- unittest/Tooling/RecursiveASTVisitorTests/Class.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"

usingnamespaceclang;

namespace {

// Checks for lambda classes that are not marked as implicitly-generated.
// (There should be none.)
class ClassVisitor : public ExpectedLocationVisitor<ClassVisitor> {};

TEST(RecursiveASTVisitor, LambdaClosureTypesAreImplicit) {}

} // end anonymous namespace