[syntax-parse] Make the SyntaxParsingContext move-only

This commit is contained in:
Alex Hoppen
2020-12-11 15:43:18 +01:00
parent fb4583f7e7
commit c27a96cc1a

View File

@@ -220,6 +220,9 @@ public:
setCreateSyntax(Kind);
}
SyntaxParsingContext(const SyntaxParsingContext &other) = delete;
SyntaxParsingContext &operator=(const SyntaxParsingContext &other) = delete;
~SyntaxParsingContext();
/// Try looking up if an unmodified node exists at \p LexerOffset of the same