================ @@ -130,6 +132,44 @@ void CIRGenBuilderTy::computeGlobalViewIndicesFromFlatOffset( computeGlobalViewIndicesFromFlatOffset(offset, subType, layout, indices); } +static mlir::Type getAttributeType(mlir::Attribute attr) { + return mlir::cast<mlir::TypedAttr>(attr).getType(); +} + +cir::RecordType clang::CIRGen::CIRGenBuilderTy::getCompleteRecordType( ---------------- mmha wrote:
I renamed `getCompleteRecordType` to `getCompleteNamedRecordType` and `getCompleteRecordTy` to `getCompleteRecordType` and changed the argument order so they match. That should clear things up. https://github.com/llvm/llvm-project/pull/155663 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits