[llvm] Make two texts static in `ReplayInlineAdvisor` (PR #79489)
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 26 11:26:19 PST 2024
================
@@ -43,8 +43,8 @@ ReplayInlineAdvisor::ReplayInlineAdvisor(
// main:3:1.1;
// We use the callsite string after `at callsite` to replay inlining.
line_iterator LineIt(*BufferOrErr.get(), /*SkipBlanks=*/true);
- const std::string PositiveRemark = "' inlined into '";
- const std::string NegativeRemark = "' will not be inlined into '";
+ static const std::string PositiveRemark = "' inlined into '";
----------------
vitalybuka wrote:
StringRef PositiveRemark?
https://github.com/llvm/llvm-project/pull/79489
More information about the llvm-commits
mailing list