Skip to content

Commit 423228a

Browse files
committed
Fixup
1 parent dc131e2 commit 423228a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/unittests/CIR/PointerLikeTest.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ class CIROpenACCPointerLikeTest : public ::testing::Test {
187187

188188
// Access the first element of the structure.
189189
OwningOpRef<cir::GetMemberOp> access1 = cir::GetMemberOp::create(
190-
b, loc, cir::PointerType::get(ty1), val, b.getStringAttr("f1"), 0u);
190+
b, loc, cir::PointerType::get(ty1), val, "f1", 0u);
191191
mlir::Value accessVal1 = access1.get();
192192

193193
// Verify that we get the expected element type.
@@ -205,7 +205,7 @@ class CIROpenACCPointerLikeTest : public ::testing::Test {
205205

206206
// Access the second element of the structure.
207207
OwningOpRef<cir::GetMemberOp> access2 = cir::GetMemberOp::create(
208-
b, loc, cir::PointerType::get(ty2), val, b.getStringAttr("f2"), 1);
208+
b, loc, cir::PointerType::get(ty2), val, "f2", 1u);
209209
mlir::Value accessVal2 = access2.get();
210210

211211
// Verify that we get the expected element type.

0 commit comments

Comments
 (0)