|
1 | 1 | // Note: %s must be preceded by --, otherwise it may be interpreted as a |
2 | 2 | // command-line option, e.g. on Mac where %s is commonly under /Users. |
3 | 3 |
|
4 | | -// RUN: %clang -### -target i386 -fexcess-precision=fast -c %s 2>&1 \ |
| 4 | +// RUN: %clang -### --target=i386 -fexcess-precision=fast -c %s 2>&1 \ |
5 | 5 | // RUN: | FileCheck --check-prefix=CHECK-FAST %s |
6 | | -// RUN: %clang_cl -### -target i386 -fexcess-precision=fast -c -- %s 2>&1 \ |
| 6 | +// RUN: %clang_cl -### --target=i386 -fexcess-precision=fast -c -- %s 2>&1 \ |
7 | 7 | // RUN: | FileCheck --check-prefix=CHECK-FAST %s |
8 | 8 |
|
9 | | -// RUN: %clang -### -target i386 -fexcess-precision=standard -c %s 2>&1 \ |
| 9 | +// RUN: %clang -### --target=i386 -fexcess-precision=standard -c %s 2>&1 \ |
10 | 10 | // RUN: | FileCheck --check-prefix=CHECK-STD %s |
11 | | -// RUN: %clang_cl -### -target i386 -fexcess-precision=standard -c -- %s 2>&1 \ |
| 11 | +// RUN: %clang_cl -### --target=i386 -fexcess-precision=standard -c -- %s 2>&1 \ |
12 | 12 | // RUN: | FileCheck --check-prefix=CHECK-STD %s |
13 | 13 |
|
14 | | -// RUN: %clang -### -target i386 -fexcess-precision=16 -c %s 2>&1 \ |
| 14 | +// RUN: %clang -### --target=i386 -fexcess-precision=16 -c %s 2>&1 \ |
15 | 15 | // RUN: | FileCheck --check-prefix=CHECK-NONE %s |
16 | | -// RUN: %clang_cl -### -target i386 -fexcess-precision=16 -c -- %s 2>&1 \ |
| 16 | +// RUN: %clang_cl -### --target=i386 -fexcess-precision=16 -c -- %s 2>&1 \ |
17 | 17 | // RUN: | FileCheck --check-prefix=CHECK-NONE %s |
18 | 18 |
|
19 | 19 | // RUN: not %clang -### --target=i386 -fexcess-precision=none -c %s 2>&1 \ |
20 | 20 | // RUN: | FileCheck --check-prefix=CHECK-ERR-NONE %s |
21 | 21 | // RUN: not %clang_cl -### --target=i386 -fexcess-precision=none -c -- %s 2>&1 \ |
22 | 22 | // RUN: | FileCheck --check-prefix=CHECK-ERR-NONE %s |
23 | 23 |
|
24 | | -// RUN: %clang -### -target x86_64 -fexcess-precision=fast -c %s 2>&1 \ |
| 24 | +// RUN: %clang -### --target=x86_64 -fexcess-precision=fast -c %s 2>&1 \ |
25 | 25 | // RUN: | FileCheck --check-prefix=CHECK-FAST %s |
26 | | -// RUN: %clang_cl -### -target x86_64 -fexcess-precision=fast -c -- %s 2>&1 \ |
| 26 | +// RUN: %clang_cl -### --target=x86_64 -fexcess-precision=fast -c -- %s 2>&1 \ |
27 | 27 | // RUN: | FileCheck --check-prefix=CHECK-FAST %s |
28 | 28 |
|
29 | | -// RUN: %clang -### -target x86_64 -fexcess-precision=standard -c %s 2>&1 \ |
| 29 | +// RUN: %clang -### --target=x86_64 -fexcess-precision=standard -c %s 2>&1 \ |
30 | 30 | // RUN: | FileCheck --check-prefix=CHECK-STD %s |
31 | | -// RUN: %clang_cl -### -target x86_64 -fexcess-precision=standard -c \ |
| 31 | +// RUN: %clang_cl -### --target=x86_64 -fexcess-precision=standard -c \ |
32 | 32 | // RUN: -- %s 2>&1 | FileCheck --check-prefix=CHECK-STD %s |
33 | 33 |
|
34 | | -// RUN: %clang -### -target x86_64 -fexcess-precision=16 -c %s 2>&1 \ |
| 34 | +// RUN: %clang -### --target=x86_64 -fexcess-precision=16 -c %s 2>&1 \ |
35 | 35 | // RUN: | FileCheck --check-prefix=CHECK-NONE %s |
36 | | -// RUN: %clang_cl -### -target x86_64 -fexcess-precision=16 -c -- %s 2>&1 \ |
| 36 | +// RUN: %clang_cl -### --target=x86_64 -fexcess-precision=16 -c -- %s 2>&1 \ |
37 | 37 | // RUN: | FileCheck --check-prefix=CHECK-NONE %s |
38 | 38 |
|
39 | 39 | // RUN: not %clang -### --target=x86_64 -fexcess-precision=none -c %s 2>&1 \ |
40 | 40 | // RUN: | FileCheck --check-prefixes=CHECK-ERR-NONE %s |
41 | 41 | // RUN: not %clang_cl -### --target=x86_64 -fexcess-precision=none -c -- %s 2>&1 \ |
42 | 42 | // RUN: | FileCheck --check-prefixes=CHECK-ERR-NONE %s |
43 | 43 |
|
44 | | -// RUN: %clang -### -target aarch64 -fexcess-precision=fast -c %s 2>&1 \ |
| 44 | +// RUN: %clang -### --target=aarch64 -fexcess-precision=fast -c %s 2>&1 \ |
45 | 45 | // RUN: | FileCheck --check-prefix=CHECK %s |
46 | | -// RUN: %clang_cl -### -target aarch64 -fexcess-precision=fast -c -- %s 2>&1 \ |
| 46 | +// RUN: %clang_cl -### --target=aarch64 -fexcess-precision=fast -c -- %s 2>&1 \ |
47 | 47 | // RUN: | FileCheck --check-prefix=CHECK %s |
48 | 48 |
|
49 | | -// RUN: %clang -### -target aarch64 -fexcess-precision=standard -c %s 2>&1 \ |
| 49 | +// RUN: %clang -### --target=aarch64 -fexcess-precision=standard -c %s 2>&1 \ |
50 | 50 | // RUN: | FileCheck --check-prefix=CHECK %s |
51 | | -// RUN: %clang_cl -### -target aarch64 -fexcess-precision=standard -c \ |
| 51 | +// RUN: %clang_cl -### --target=aarch64 -fexcess-precision=standard -c \ |
52 | 52 | // RUN: -- %s 2>&1 | FileCheck --check-prefix=CHECK %s |
53 | 53 |
|
54 | 54 | // RUN: not %clang -### --target=aarch64 -fexcess-precision=16 -c %s 2>&1 \ |
|
0 commit comments