Commit 702c279
authored
[NFC][Driver] Change SYCL test file extension .c -> .cpp (#20977)
SYCL is an API built on top of C++ programming language. Building SYCL
program with C compiler is not possible.
The content of clang/test/Driver/sycl-offload-old-model.c test has been
added to existing clang/test/Driver/sycl-offload-old-model.cpp test.
The same applies to clang/test/Driver/sycl-offload.c.
Moved a check for a warning about using .c file extenion for SYCL to a
separate test - clang/test/Driver/sycl-c-warn.c.1 parent c921a48 commit 702c279
File tree
19 files changed
+1559
-1530
lines changed- clang/test
- CodeGen
- Driver
19 files changed
+1559
-1530
lines changedFile renamed without changes.
File renamed without changes.
File renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Large diffs are not rendered by default.
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
| 9 | + | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| |||
0 commit comments