//=- unittest/Tooling/RecursiveASTVisitorTests/ImplicitCtorInitializer.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 { class CXXCtorInitializerVisitor : public ExpectedLocationVisitor<CXXCtorInitializerVisitor> { … }; // Check to ensure that CXXCtorInitializer is not visited when implicit code // should not be visited and that it is visited when implicit code should be // visited. TEST(RecursiveASTVisitor, CXXCtorInitializerVisitNoImplicit) { … } } // end anonymous namespace