@@ -61,8 +61,8 @@ def B_CompoundAttrA : TestAttr<"CompoundA"> {
61
61
let genVerifyDecl = 1;
62
62
63
63
// DECL-LABEL: class CompoundAAttr : public ::mlir::Attribute
64
- // DECL: static CompoundAAttr getChecked(::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::mlir::MLIRContext *context, int widthOfSomething, ::test::SimpleTypeA exampleTdType, const ::llvm::APFloat & apFloat, ::llvm::ArrayRef<int> dims, ::mlir::Type inner);
65
- // DECL: static ::mlir::LogicalResult verify(::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, int widthOfSomething, ::test::SimpleTypeA exampleTdType, const ::llvm::APFloat & apFloat, ::llvm::ArrayRef<int> dims, ::mlir::Type inner);
64
+ // DECL: static CompoundAAttr getChecked(::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, ::mlir::MLIRContext *context, int widthOfSomething, ::test::SimpleTypeA exampleTdType, ::llvm::APFloat apFloat, ::llvm::ArrayRef<int> dims, ::mlir::Type inner);
65
+ // DECL: static ::mlir::LogicalResult verify(::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, int widthOfSomething, ::test::SimpleTypeA exampleTdType, ::llvm::APFloat apFloat, ::llvm::ArrayRef<int> dims, ::mlir::Type inner);
66
66
// DECL: static constexpr ::llvm::StringLiteral getMnemonic() {
67
67
// DECL: return {"cmpnd_a"};
68
68
// DECL: }
@@ -71,7 +71,7 @@ def B_CompoundAttrA : TestAttr<"CompoundA"> {
71
71
// DECL: void print(::mlir::AsmPrinter &printer) const;
72
72
// DECL: int getWidthOfSomething() const;
73
73
// DECL: ::test::SimpleTypeA getExampleTdType() const;
74
- // DECL: const ::llvm::APFloat & getApFloat() const;
74
+ // DECL: ::llvm::APFloat getApFloat() const;
75
75
76
76
// Check that AttributeSelfTypeParameter is handled properly.
77
77
// DEF-LABEL: struct CompoundAAttrStorage
@@ -139,5 +139,5 @@ def F_ParamWithAccessorTypeAttr : TestAttr<"ParamWithAccessorType"> {
139
139
// DECL-LABEL: class ParamWithAccessorTypeAttr
140
140
// DECL: StringRef getParam()
141
141
// DEF: ParamWithAccessorTypeAttrStorage
142
- // DEF: ParamWithAccessorTypeAttrStorage(StringRef param)
142
+ // DEF: ParamWithAccessorTypeAttrStorage(std::string param)
143
143
// DEF: StringRef ParamWithAccessorTypeAttr::getParam()
0 commit comments