• Simon Zünd's avatar
    [torque] Collect lint errors for later processing · 1397697e
    Simon Zünd authored
    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/+/1581608Reviewed-by: 's avatarSigurd Schneider <sigurds@chromium.org>
    Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#60983}
    1397697e
torque-compiler.cc 4.39 KB