//===- unittest/Tooling/RecursiveASTVisitorTests/LambdaExpr.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 "llvm/TargetParser/Host.h" #include <stack> usingnamespaceclang; namespace { class LambdaExprVisitor : public ExpectedLocationVisitor<LambdaExprVisitor> { … }; TEST(RecursiveASTVisitor, VisitsLambdaExpr) { … } TEST(RecursiveASTVisitor, LambdaInLambda) { … } TEST(RecursiveASTVisitor, TopLevelLambda) { … } TEST(RecursiveASTVisitor, VisitsLambdaExprAndImplicitClass) { … } TEST(RecursiveASTVisitor, VisitsAttributedLambdaExpr) { … } } // end anonymous namespace