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.
2 parents d2a0016 + 097e877 commit 42b26edCopy full SHA for 42b26ed
include/swift/SILOptimizer/Analysis/Analysis.h
@@ -103,7 +103,7 @@ class SILAnalysis : public DeleteNotificationHandler {
103
void unlockInvalidation() { invalidationLock = false; }
104
105
/// Return True if this analysis is locked and should not be invalidated.
106
- bool isLocked() { return invalidationLock; }
+ bool isLocked() const { return invalidationLock; }
107
108
/// Invalidate all information in this analysis.
109
virtual void invalidate() = 0;
0 commit comments