Skip to content

Commit 573ee3e

Browse files
committed
[NFC] Marked two NecessaryBindings helpers const.
1 parent 253099a commit 573ee3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/IRGen/NecessaryBindings.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ class NecessaryBindings {
131131
}
132132
}
133133

134-
bool forPartialApply() { return kind == Kind::PartialApply; }
135-
bool forAsyncFunction() { return kind == Kind::AsyncFunction; }
134+
bool forPartialApply() const { return kind == Kind::PartialApply; }
135+
bool forAsyncFunction() const { return kind == Kind::AsyncFunction; }
136136

137137
private:
138138
static NecessaryBindings computeBindings(IRGenModule &IGM,

0 commit comments

Comments
 (0)