Page MenuHomePhabricator

[clang][cli] NFC: Use Diags to report parsing success/failure

Authored by jansvoboda11 on Fri, Apr 16, 6:39 AM.



Success is set to false whenever Diags.Report(diag::err_) is called. Remove the duplication and use Diags as the source of truth when deciding whether to report parsing success/failure.

Diff Detail

Event Timeline

jansvoboda11 requested review of this revision.Fri, Apr 16, 6:39 AM
jansvoboda11 created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptFri, Apr 16, 6:39 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
This revision is now accepted and ready to land.Fri, Apr 16, 7:33 AM
This revision was landed with ongoing or failed builds.Mon, Apr 19, 2:17 AM
This revision was automatically updated to reflect the committed changes.