Include Region.h in OperationSupport.h instead of forward declaring it (NFC)
authorMehdi Amini <joker.eph@gmail.com>
Thu, 3 Dec 2020 18:45:58 +0000 (18:45 +0000)
committerMehdi Amini <joker.eph@gmail.com>
Thu, 3 Dec 2020 18:54:27 +0000 (18:54 +0000)
commite312b388ebadcd074d559454aca1fd6e75e8e7a5
tree8a30e87acddc719f0f5018deed079c2fbfed7e97
parentd69762c404dedb8af915c503e0ac40c8e57ddf84
Include Region.h in OperationSupport.h instead of forward declaring it (NFC)

This fixes the build on gcc5 toolchain where sizeof is required for
types used in SmallVector now.
This is a consequence of using std::is_trivially_copy_constructible
instead of the LLVM variant: https://reviews.llvm.org/D92543
mlir/include/mlir/IR/OperationSupport.h