Commit f694044
Gabor Horvath
[cxx-interop] Fix assert failure due to invalid location
We hit an assert failure do to creating a range where the begin was a
valid source location while the end range was an invalid one.
Unfortunately, I was not able to create a minimal reproducer but I was
able to verify that this fix works because I was able to reproduce this
issue while compiling Swift with a patched version of Clang.
rdar://1553790271 parent 4064ad1 commit f694044
1 file changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2885 | 2885 | | |
2886 | 2886 | | |
2887 | 2887 | | |
2888 | | - | |
2889 | | - | |
2890 | | - | |
| 2888 | + | |
| 2889 | + | |
| 2890 | + | |
| 2891 | + | |
2891 | 2892 | | |
2892 | 2893 | | |
2893 | 2894 | | |
| |||
0 commit comments