Commit cf176de
authored
[clang][SYCL] Fix field/base builtins for PCH support (#20560)
We have added several builtins for device copyability checking a while
back. These are implemented via new AST nodes, so they require
implementation of ASTReaderStmt's and ASTWriterStmt's methods. The
implementation was in place but it was untested so we never saw that it
is missing writing/reading of the builtin expression's type which
resulted in crashes during PCH reading.1 parent aeafda3 commit cf176de
File tree
4 files changed
+35
-0
lines changed- clang
- lib/Serialization
- test/SemaSYCL
- sycl/test-e2e/PerformanceTests/KernelCompiler
4 files changed
+35
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1866 | 1866 | | |
1867 | 1867 | | |
1868 | 1868 | | |
| 1869 | + | |
1869 | 1870 | | |
1870 | 1871 | | |
1871 | 1872 | | |
1872 | 1873 | | |
1873 | 1874 | | |
| 1875 | + | |
1874 | 1876 | | |
1875 | 1877 | | |
1876 | 1878 | | |
1877 | 1879 | | |
1878 | 1880 | | |
1879 | 1881 | | |
| 1882 | + | |
1880 | 1883 | | |
1881 | 1884 | | |
1882 | 1885 | | |
1883 | 1886 | | |
1884 | 1887 | | |
| 1888 | + | |
1885 | 1889 | | |
1886 | 1890 | | |
1887 | 1891 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1869 | 1869 | | |
1870 | 1870 | | |
1871 | 1871 | | |
| 1872 | + | |
1872 | 1873 | | |
1873 | 1874 | | |
1874 | 1875 | | |
1875 | 1876 | | |
1876 | 1877 | | |
1877 | 1878 | | |
| 1879 | + | |
1878 | 1880 | | |
1879 | 1881 | | |
1880 | 1882 | | |
1881 | 1883 | | |
1882 | 1884 | | |
1883 | 1885 | | |
1884 | 1886 | | |
| 1887 | + | |
1885 | 1888 | | |
1886 | 1889 | | |
1887 | 1890 | | |
1888 | 1891 | | |
1889 | 1892 | | |
1890 | 1893 | | |
| 1894 | + | |
1891 | 1895 | | |
1892 | 1896 | | |
1893 | 1897 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| 105 | + | |
105 | 106 | | |
0 commit comments