mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-03 21:05:50 +01: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.