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 315b0ac commit ac4221bCopy full SHA for ac4221b
toolchain/testing/file_test.cpp
@@ -329,7 +329,7 @@ auto ToolchainFileTest::DoExtraCheckReplacements(std::string& check_line) const
329
// instruction edits including adding/removing singleton instructions.
330
static RE2 inst_re(
331
R"(((?:import_ref [^,]*, |<unexpected>\.)inst)[0-9A-F]+)");
332
- RE2::Replace(&check_line, inst_re, R"(\1{{[0-9A-F]+}})");
+ RE2::GlobalReplace(&check_line, inst_re, R"(\1{{[0-9A-F]+}})");
333
334
// Reduce location sensitivity in imports referring to `Core`; this is
335
// brittle for small edits, including comment changes.
0 commit comments