mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-17 23:50:29 +00:00
This is currently used once for PreviousDefinition in semantics. This PR doesn't just add a builder, it also adds support to the emitter itself to collect notes attached to a diagnostic, and to the consumers and emitters to print all of them. Co-authored-by: Chandler Carruth <chandlerc@gmail.com>