Commit 77e037d
Gabor Horvath
[cxx-interop] Fix invalid source range for some template instantiations
Apparently, clang will pick the source range of the canonical
declaration for template specializations. This might be in a different
buffer than the definition triggering various issues. Fortunately, Clang
also has the source locations we want, we just need to use a different
API to get them. Unfortunately, I haven't figured it out yet how to
trigger a failing test.
rdar://1482504041 parent 8c8ed34 commit 77e037d
1 file changed
+14
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1722 | 1722 | | |
1723 | 1723 | | |
1724 | 1724 | | |
1725 | | - | |
1726 | | - | |
| 1725 | + | |
| 1726 | + | |
| 1727 | + | |
| 1728 | + | |
| 1729 | + | |
| 1730 | + | |
| 1731 | + | |
| 1732 | + | |
| 1733 | + | |
1727 | 1734 | | |
1728 | 1735 | | |
1729 | 1736 | | |
| |||
1732 | 1739 | | |
1733 | 1740 | | |
1734 | 1741 | | |
| 1742 | + | |
| 1743 | + | |
| 1744 | + | |
| 1745 | + | |
| 1746 | + | |
1735 | 1747 | | |
1736 | 1748 | | |
1737 | 1749 | | |
| |||
0 commit comments