//===- LocationTest.cpp - unit tests for affine map API -------------------===// // // 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 "mlir/IR/Location.h" #include "mlir/IR/Builders.h" #include "gtest/gtest.h" usingnamespacemlir; // Check that we only walk *locations* and not non-location attributes. TEST(LocationTest, Walk) { … } // Check that we skip location attrs nested under a non-location attr. TEST(LocationTest, SkipNested) { … }