//===- MutationsTest.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 // //===----------------------------------------------------------------------===// // // This file tests mutation API for syntax trees. // //===----------------------------------------------------------------------===// #include "clang/Tooling/Syntax/Mutations.h" #include "TreeTestBase.h" #include "clang/Tooling/Syntax/BuildTree.h" usingnamespaceclang; usingnamespaceclang::syntax; namespace { class MutationTest : public SyntaxTreeTest { … }; INSTANTIATE_TEST_SUITE_P(…); TEST_P(MutationTest, RemoveStatement_InCompound) { … } TEST_P(MutationTest, RemoveStatement_InCompound_Empty) { … } TEST_P(MutationTest, RemoveStatement_LeaveEmpty) { … } } // namespace