Skip to content

Commit 42b26ed

Browse files
authored
Merge pull request #17962 from gottesmm/pr-32867ca49fd7c7817ef633c1ab4042bac67051ba
[gardening] Add a missing const to a const method.
2 parents d2a0016 + 097e877 commit 42b26ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/swift/SILOptimizer/Analysis/Analysis.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ class SILAnalysis : public DeleteNotificationHandler {
103103
void unlockInvalidation() { invalidationLock = false; }
104104

105105
/// Return True if this analysis is locked and should not be invalidated.
106-
bool isLocked() { return invalidationLock; }
106+
bool isLocked() const { return invalidationLock; }
107107

108108
/// Invalidate all information in this analysis.
109109
virtual void invalidate() = 0;

0 commit comments

Comments
 (0)