This is an archive of the discontinued LLVM Phabricator instance.

[libTooling] Add option for `buildAST` to report diagnostics.
ClosedPublic

Authored by ymandel on Feb 18 2020, 6:08 AM.

Details

Summary

Currently, buildAST[WithArgs] either succeeds or fails. This patch adds
support for the caller to pass a DiagnosticConsumer to receive all relevant
diagnostics.

Event Timeline

ymandel created this revision.Feb 18 2020, 6:08 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 18 2020, 6:08 AM
gribozavr2 accepted this revision.Feb 18 2020, 6:10 AM
This revision is now accepted and ready to land.Feb 18 2020, 6:10 AM
This revision was automatically updated to reflect the committed changes.