//===- TestInterfaces.cpp - Test interface generation and application -----===// // // 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 "TestTypes.h" #include "mlir/IR/BuiltinOps.h" #include "mlir/Pass/Pass.h" usingnamespacemlir; usingnamespacetest; namespace { /// This test checks various aspects of Type interface generation and /// application. struct TestTypeInterfaces : public PassWrapper<TestTypeInterfaces, OperationPass<ModuleOp>> { … }; } // namespace namespace mlir { namespace test { void registerTestInterfaces() { … } } // namespace test } // namespace mlir