//===- TestDiagnostics.cpp - Test Diagnostic Utilities --------------------===// // // 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 contains test passes for constructing and resolving dominance // information. // //===----------------------------------------------------------------------===// #include "mlir/IR/SymbolTable.h" #include "mlir/Pass/Pass.h" #include "llvm/Support/SourceMgr.h" usingnamespacemlir; namespace { struct TestDiagnosticFilterPass : public PassWrapper<TestDiagnosticFilterPass, InterfacePass<SymbolOpInterface>> { … }; } // namespace namespace mlir { namespace test { void registerTestDiagnosticsPass() { … } } // namespace test } // namespace mlir