mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 22:02:23 +01:00
The specific location's not ideal (rather than the open curly, or semicolon for a declaration - the two locations should be the `class` and then the class name), but the same as we do for functions for now & enough to get by. This specifically also fixes a crash I found due to dtors being generated without a location (because implicitly created functions would use the class's location), creating a function call without a debug location, which fails the LLVM IR verifier.