We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a428e23 commit b5738e9Copy full SHA for b5738e9
llvm/unittests/Remarks/RemarksLinkingTest.cpp
@@ -243,8 +243,8 @@ TEST(Remarks, LinkingError) {
243
// Check that the prepend path is propagated and fails with the full path.
244
// Also ensures that the remark format is correctly auto-detected.
245
RL.setExternalFilePrependPath("/baddir/");
246
- Error E = RL.link(
247
- StringRef("REMARKS\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0badfile.opt.yaml"));
+ Error E = RL.link(StringRef(
+ "REMARKS\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0badfile.opt.yaml", 40));
248
EXPECT_TRUE(static_cast<bool>(E));
249
std::string ErrorMessage = toString(std::move(E));
250
EXPECT_EQ(StringRef(ErrorMessage).lower(),
0 commit comments