Skip to content

Commit a67ffad

Browse files
authored
Merge pull request #25296 from broadwaylamb/patch-2
[Parse] Add missing const qualifier to getSplitTokens()
2 parents 00e30dd + 36b2625 commit a67ffad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/swift/Parse/Parser.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ class Parser {
183183

184184
bool allowTopLevelCode() const;
185185

186-
const std::vector<Token> &getSplitTokens() { return SplitTokens; }
186+
const std::vector<Token> &getSplitTokens() const { return SplitTokens; }
187187

188188
void markSplitToken(tok Kind, StringRef Txt);
189189

0 commit comments

Comments
 (0)