Skip to content

Commit 4f17ea7

Browse files
committed
Address comments
1 parent 23f992c commit 4f17ea7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/LTO/LTO.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ static void thinLTOInternalizeAndPromoteGUID(
475475
// the local flag should be consistent with the summary list linkage types.
476476
VI.verifyLocal();
477477

478-
bool SingleExternallyVisibleCopy =
478+
const bool SingleExternallyVisibleCopy =
479479
VI.getSummaryList().size() == 1 &&
480480
!GlobalValue::isLocalLinkage(VI.getSummaryList().front()->linkage());
481481

0 commit comments

Comments
 (0)