Commit Graph

2 Commits

Author SHA1 Message Date
Brent Royal-Gordon
cb51c1ba10 [NFC] Tighten up test for #31743
Tweak this test to only look for debug info references to the filename, not *any* reference to the filename.
2020-07-13 14:05:13 -07:00
Slava Pestov
23cbd7fd04 SILGen: Fix source location for the enum payload argument source
We should use the source location of the call site, and not the enum
element declaration, otherwise we emit incorrect debug info.

Fixes <rdar://problem/63067437>.
2020-05-12 19:42:26 -04:00