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