This function returns a list of completions for a given expression and
completion position.
Details
Details
- Reviewers
klimek sbenza - Commits
- rL200497: Introduce Parser::completeExpression.
Diff Detail
Diff Detail
Event Timeline
Comment Actions
- Use a scoped object to manage the context stack
lib/ASTMatchers/Dynamic/Parser.cpp | ||
---|---|---|
295 | Done. | |
403 | Not aborting gives us better (i.e. more) diagnostics. If we abort early, no diagnostics appear for anything after the invalid matcher name. (This also causes some unit tests under ParserTest.Errors to fail.) |
Can you add a scoped object that will pop_back automatically?