//===- unittests/Passes/PassBuilderBindingsTest.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 "llvm-c/Core.h" #include "llvm-c/Transforms/PassBuilder.h" #include "llvm-c/Types.h" #include "gtest/gtest.h" #include <string.h> usingnamespacellvm; class PassBuilderCTest : public testing::Test { … }; TEST_F(PassBuilderCTest, Basic) { … } TEST_F(PassBuilderCTest, InvalidPassIsError) { … } TEST_F(PassBuilderCTest, Function) { … }