Split class ValueRange to a new file
authorlipracer <lipracer@gmail.com>
Mon, 25 Jul 2022 20:42:18 +0000 (14:42 -0600)
committerJeff Niu <jeff@modular.com>
Mon, 25 Jul 2022 21:33:21 +0000 (15:33 -0600)
commit10a4f0333557b4807e339767dd4cd72a27538aef
tree1597a3b25e49adb94a479d56aa780485258c3c1a
parent85063090e95fbd9ad4ee9ad0176beff668d6675f
Split class ValueRange to a new file

When we apply parent patch : https://reviews.llvm.org/D129475
The prompt I get with the clang compiler is: ValueRange is imcomplete type,ValueRange is a forward declaration in the file TypeRange.h, and the file OperationSupport.h already includes the file TypeRange.h.The class TypeRange and the class ValueRange depend on each other.

Reviewed By: rriddle, Mogball

Differential Revision: https://reviews.llvm.org/D130332
mlir/include/mlir/IR/OperationSupport.h
mlir/include/mlir/IR/TypeRange.h
mlir/include/mlir/IR/ValueRange.h [new file with mode: 0644]
mlir/lib/IR/BuiltinDialect.cpp
mlir/lib/IR/CMakeLists.txt
mlir/lib/IR/ValueRange.cpp [new file with mode: 0644]