[llvm-branch-commits] [llvm] a6319c3 - Revert "Make two texts static in `ReplayInlineAdvisor` (#79489)"
Vitaly Buka via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Feb 21 16:06:42 PST 2024
Author: Vitaly Buka
Date: 2024-02-21T16:05:56-08:00
New Revision: a6319c3d1c4a7083b5f148b3ca33cb2757ed469c
URL: https://github.com/llvm/llvm-project/commit/a6319c3d1c4a7083b5f148b3ca33cb2757ed469c
DIFF: https://github.com/llvm/llvm-project/commit/a6319c3d1c4a7083b5f148b3ca33cb2757ed469c.diff
LOG: Revert "Make two texts static in `ReplayInlineAdvisor` (#79489)"
This reverts commit 67f9c35ffee1aea3fa8a18b57a7b27400a03435a.
Added:
Modified:
llvm/lib/Analysis/ReplayInlineAdvisor.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Analysis/ReplayInlineAdvisor.cpp b/llvm/lib/Analysis/ReplayInlineAdvisor.cpp
index 0814483db343ce..2ca02eb1741712 100644
--- a/llvm/lib/Analysis/ReplayInlineAdvisor.cpp
+++ b/llvm/lib/Analysis/ReplayInlineAdvisor.cpp
@@ -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);
- static const std::string PositiveRemark = "' inlined into '";
- static const std::string NegativeRemark = "' will not be inlined into '";
+ const std::string PositiveRemark = "' inlined into '";
+ const std::string NegativeRemark = "' will not be inlined into '";
for (; !LineIt.is_at_eof(); ++LineIt) {
StringRef Line = *LineIt;
More information about the llvm-branch-commits
mailing list