[all-commits] [llvm/llvm-project] 10a4f0: Split class ValueRange to a new file

long.chen via All-commits all-commits at lists.llvm.org
Mon Jul 25 14:33:35 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 10a4f0333557b4807e339767dd4cd72a27538aef
      https://github.com/llvm/llvm-project/commit/10a4f0333557b4807e339767dd4cd72a27538aef
  Author: lipracer <lipracer at gmail.com>
  Date:   2022-07-25 (Mon, 25 Jul 2022)

  Changed paths:
    M mlir/include/mlir/IR/OperationSupport.h
    M mlir/include/mlir/IR/TypeRange.h
    A mlir/include/mlir/IR/ValueRange.h
    M mlir/lib/IR/BuiltinDialect.cpp
    M mlir/lib/IR/CMakeLists.txt
    A mlir/lib/IR/ValueRange.cpp

  Log Message:
  -----------
  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




More information about the All-commits mailing list