mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-16 11:28:11 +00:00
Initialize the `Diag` field `EvalResult` to get notes from clang when `EvaluateAsConstantExpr` fails, then emit them using clang's diagnostic infrastructure. Also set valid source locations in a couple places, otherwise clang's diagnostics code crashes.