Currently, buildAST[WithArgs] either succeeds or fails. This patch adds
support for the caller to pass a DiagnosticConsumer to receive all relevant
diagnostics.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D74763
[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
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Feb 18 2020, 6:10 AM Closed by commit rG523cae324d79: [libTooling] Add option for `buildAST` to report diagnostics. (authored by ymandel). · Explain WhyFeb 18 2020, 6:14 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 245146 clang/include/clang/Tooling/Tooling.h
clang/lib/Tooling/Tooling.cpp
clang/unittests/Tooling/ToolingTest.cpp
|