v8/test/unittests/torque
Simon Zünd 1397697e24 [torque] Collect lint errors for later processing
This CL changes lint errors to not be printed directly to stderr.
Instead, they are collected in a list that gets surfaced via
the TorqueCompilerResult. This is done so they can be presented
to language server clients.

This change also removes the "abort_on_lint_errors" option.
API users can now decide for themselves what to do, depending on
the presence of lint errors in the returned list.

R=sigurds@chromium.org, tebbi@chromium.org

Bug: v8:8880
Change-Id: I44601010491aafcf4c8609fd8c115219317506a4
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1581608
Reviewed-by: Sigurd Schneider <sigurds@chromium.org>
Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
Cr-Commit-Position: refs/heads/master@{#60983}
2019-04-24 14:04:06 +00:00
..
earley-parser-unittest.cc [torque] add unittest for Earley parser 2018-07-24 14:01:33 +00:00
ls-json-unittest.cc Reland^3 "[torque] Throw exception instead of aborting if something goes wrong" 2019-04-16 10:41:20 +00:00
ls-message-unittest.cc [torque-ls] Send compilation errors to the client 2019-04-23 10:42:57 +00:00
ls-server-data-unittest.cc [torque] Collect lint errors for later processing 2019-04-24 14:04:06 +00:00
torque-unittest.cc [torque] Collect lint errors for later processing 2019-04-24 14:04:06 +00:00
torque-utils-unittest.cc [torque-ls] fix Windows file paths 2019-04-24 08:17:07 +00:00