Commit aed079a
authored
[NFC][Driver] Fix the test file name extension (#20735)
SYCL is C++ based language. When .c file is compiled with `-fsycl` flag,
driver emits a warning that .c file is compiled in C++ mode.
clang: warning: treating 'c' input as 'c++' when -fsycl is used
[-Wexpected-file-type]1 parent 24a0cf3 commit aed079a
1 file changed
+2
-2
lines changedclang/test/Driver/sycl-offload-new-driver.c renamed to clang/test/Driver/sycl-offload-new-driver.cpp
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
| 126 | + | |
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| |||
0 commit comments