//===- unittest/Tooling/RecursiveASTVisitorTests/LambdaDefaultCapture.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 { // Matches the (optional) capture-default of a lambda-introducer. class LambdaDefaultCaptureVisitor : public ExpectedLocationVisitor<LambdaDefaultCaptureVisitor> { … }; TEST(RecursiveASTVisitor, HasCaptureDefaultLoc) { … } } // end anonymous namespace