Add CompilerInvocation and DiagnosticsEngine to the new builder,
replacing a number of no-longer-needed CompilerInstance mutators.
These are in the same commit because the construction of a
CompilerInvocation and a DiagnosticsEngine is interestingly
entangled, since they each can depend on the other. When the dependency
is truly cyclic, a temporary DiagnosticsEngine is used to construct
the CompilerInvocation, then the latter to construct the "real"
DiagnosticsEngine and the former's diagnostics are replayed.
Details
Details
- Reviewers
rsmith
Diff Detail
Diff Detail