Skip to content

Commit

Permalink
Merge pull request swiftlang#25296 from broadwaylamb/patch-2
Browse files Browse the repository at this point in the history
[Parse] Add missing const qualifier to getSplitTokens()
  • Loading branch information
rintaro authored Jun 8, 2019
2 parents 00e30dd + 36b2625 commit a67ffad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/swift/Parse/Parser.h
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ class Parser {

bool allowTopLevelCode() const;

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

void markSplitToken(tok Kind, StringRef Txt);

Expand Down

0 comments on commit a67ffad

Please sign in to comment.