Skip to content

Commit f44dede

Browse files
committed
Review feedback
1 parent 71ce952 commit f44dede

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/unittests/IR/IntrinsicsTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ TEST(IntrinsicNameLookup, NonNullterminatedStringRef) {
100100
// in that StringRef can be flagged by asan. Here, the String `S` is of size
101101
// 18, and backed by a heap allocated buffer `Data`, so access to S[18] will
102102
// be flagged bby asan.
103-
std::unique_ptr<char[]> Data = std::make_unique<char[]>(Name.size());
103+
auto Data = std::make_unique<char[]>(Name.size());
104104
std::strncpy(Data.get(), Name.data(), Name.size());
105105
StringRef S(Data.get(), Name.size());
106106
EXPECT_EQ(memcpy_inline, lookupIntrinsicID(S));

0 commit comments

Comments
 (0)