From d75ab7d548c020f37ed3391a0002b206336fe46e Mon Sep 17 00:00:00 2001 From: Valentin Clement Date: Fri, 5 Nov 2021 20:49:09 +0100 Subject: [PATCH] [fir] Remove getModel in DescriptorModel.h A windows buildbot complains about previous definiton after D112961. Remove the extra definition until we can figure out if really needed. --- flang/lib/Optimizer/CodeGen/DescriptorModel.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/flang/lib/Optimizer/CodeGen/DescriptorModel.h b/flang/lib/Optimizer/CodeGen/DescriptorModel.h index 6c357ab..3310275 100644 --- a/flang/lib/Optimizer/CodeGen/DescriptorModel.h +++ b/flang/lib/Optimizer/CodeGen/DescriptorModel.h @@ -87,13 +87,6 @@ TypeBuilderFunc getModel() { }; } template <> -TypeBuilderFunc getModel() { - return [](mlir::MLIRContext *context) -> mlir::Type { - return mlir::IntegerType::get(context, - sizeof(Fortran::ISO::CFI_index_t) * 8); - }; -} -template <> TypeBuilderFunc getModel() { return [](mlir::MLIRContext *context) -> mlir::Type { auto indexTy = getModel()(context); -- 2.7.4