Skip to content

Commit e187fd5

Browse files
Regenerate RUN lines of managed tests.
This was fully automated and shouldn't need review.
1 parent 18ae7a7 commit e187fd5

File tree

286 files changed

+2133
-2340
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

286 files changed

+2133
-2340
lines changed

clang/test/3C/3d-allocation.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
// RUN: 3c -alltypes -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_ALL","CHECK" %s
2-
// RUN: 3c -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_NOALL","CHECK" %s
3-
// RUN: 3c -addcr %s -- | %clang -c -fcheckedc-extension -x c -o /dev/null -
4-
// RUN: 3c -output-postfix=checked -alltypes %s
5-
// RUN: 3c -alltypes %S/3d-allocation.checked.c -- | count 0
6-
// RUN: rm %S/3d-allocation.checked.c
1+
// RUN: rm -rf %t*
2+
// RUN: 3c -base-dir=%S -alltypes -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_ALL","CHECK" %s
3+
// RUN: 3c -base-dir=%S -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_NOALL","CHECK" %s
4+
// RUN: 3c -base-dir=%S -addcr %s -- | %clang -c -fcheckedc-extension -x c -o /dev/null -
5+
// RUN: 3c -base-dir=%S -output-dir=%t.checked -alltypes %s --
6+
// RUN: 3c -base-dir=%t.checked -alltypes %t.checked/3d-allocation.c -- | diff %t.checked/3d-allocation.c -
77

88
#include <stdio.h>
99
#include <stdlib.h>

clang/test/3C/amper.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
// RUN: 3c -alltypes -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_ALL","CHECK" %s
2-
// RUN: 3c -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_NOALL","CHECK" %s
3-
// RUN: 3c -addcr %s -- | %clang -c -fcheckedc-extension -x c -o /dev/null -
4-
// RUN: 3c -output-postfix=checked -alltypes %s
5-
// RUN: 3c -alltypes %S/amper.checked.c -- | count 0
6-
// RUN: rm %S/amper.checked.c
1+
// RUN: rm -rf %t*
2+
// RUN: 3c -base-dir=%S -alltypes -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_ALL","CHECK" %s
3+
// RUN: 3c -base-dir=%S -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_NOALL","CHECK" %s
4+
// RUN: 3c -base-dir=%S -addcr %s -- | %clang -c -fcheckedc-extension -x c -o /dev/null -
5+
// RUN: 3c -base-dir=%S -output-dir=%t.checked -alltypes %s --
6+
// RUN: 3c -base-dir=%t.checked -alltypes %t.checked/amper.c -- | diff %t.checked/amper.c -
77

88
void foo(int *x) {
99
//CHECK: void foo(int *x : itype(_Ptr<int>)) {

clang/test/3C/arrboth.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
// RUN: 3c -alltypes -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_ALL","CHECK" %s
2-
// RUN: 3c -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_NOALL","CHECK" %s
3-
// RUN: 3c -addcr %s -- | %clang -c -fcheckedc-extension -x c -o /dev/null -
1+
// RUN: rm -rf %t*
2+
// RUN: 3c -base-dir=%S -alltypes -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_ALL","CHECK" %s
3+
// RUN: 3c -base-dir=%S -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_NOALL","CHECK" %s
4+
// RUN: 3c -base-dir=%S -addcr %s -- | %clang -c -fcheckedc-extension -x c -o /dev/null -
45

5-
// RUN: 3c -alltypes -output-postfix=checked %s
6-
// RUN: 3c -alltypes %S/arrboth.checked.c -- | count 0
7-
// RUN: rm %S/arrboth.checked.c
6+
// RUN: 3c -base-dir=%S -alltypes -output-dir=%t.checked %s --
7+
// RUN: 3c -base-dir=%t.checked -alltypes %t.checked/arrboth.c -- | diff %t.checked/arrboth.c -
88

99

1010
/*********************************************************************************/

clang/test/3C/arrbothmulti1.c

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
1-
// RUN: 3c -base-dir=%S -addcr -alltypes -output-postfix=checkedALL %s %S/arrbothmulti2.c
2-
// RUN: 3c -base-dir=%S -addcr -output-postfix=checkedNOALL %s %S/arrbothmulti2.c
3-
// RUN: %clang -c %S/arrbothmulti1.checkedNOALL.c %S/arrbothmulti2.checkedNOALL.c
4-
// RUN: FileCheck -match-full-lines -check-prefixes="CHECK_NOALL","CHECK" --input-file %S/arrbothmulti1.checkedNOALL.c %s
5-
// RUN: FileCheck -match-full-lines -check-prefixes="CHECK_ALL","CHECK" --input-file %S/arrbothmulti1.checkedALL.c %s
6-
// RUN: 3c -base-dir=%S -alltypes -output-postfix=checked %S/arrbothmulti2.c %s
7-
// RUN: 3c -base-dir=%S -alltypes -output-postfix=convert_again %S/arrbothmulti1.checked.c %S/arrbothmulti2.checked.c
8-
// RUN: test ! -f %S/arrbothmulti1.checked.convert_again.c
9-
// RUN: test ! -f %S/arrbothmulti2.checked.convert_again.c
10-
// RUN: rm %S/arrbothmulti1.checkedALL.c %S/arrbothmulti2.checkedALL.c
11-
// RUN: rm %S/arrbothmulti1.checkedNOALL.c %S/arrbothmulti2.checkedNOALL.c
12-
// RUN: rm %S/arrbothmulti1.checked.c %S/arrbothmulti2.checked.c
1+
// RUN: rm -rf %t*
2+
// RUN: 3c -base-dir=%S -addcr -alltypes -output-dir=%t.checkedALL %s %S/arrbothmulti2.c --
3+
// RUN: 3c -base-dir=%S -addcr -output-dir=%t.checkedNOALL %s %S/arrbothmulti2.c --
4+
// RUN: %clang -working-directory=%t.checkedNOALL -c arrbothmulti1.c arrbothmulti2.c
5+
// RUN: FileCheck -match-full-lines -check-prefixes="CHECK_NOALL","CHECK" --input-file %t.checkedNOALL/arrbothmulti1.c %s
6+
// RUN: FileCheck -match-full-lines -check-prefixes="CHECK_ALL","CHECK" --input-file %t.checkedALL/arrbothmulti1.c %s
7+
// RUN: 3c -base-dir=%S -alltypes -output-dir=%t.checked %S/arrbothmulti2.c %s --
8+
// RUN: 3c -base-dir=%t.checked -alltypes -output-dir=%t.convert_again %t.checked/arrbothmulti1.c %t.checked/arrbothmulti2.c --
9+
// RUN: test ! -f %t.convert_again/arrbothmulti1.c
10+
// RUN: test ! -f %t.convert_again/arrbothmulti2.c
1311

1412

1513
/*********************************************************************************/

clang/test/3C/arrbothmulti2.c

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
1-
// RUN: 3c -base-dir=%S -addcr -alltypes -output-postfix=checkedALL2 %S/arrbothmulti1.c %s
2-
// RUN: 3c -base-dir=%S -addcr -output-postfix=checkedNOALL2 %S/arrbothmulti1.c %s
3-
// RUN: %clang -c %S/arrbothmulti1.checkedNOALL2.c %S/arrbothmulti2.checkedNOALL2.c
4-
// RUN: FileCheck -match-full-lines -check-prefixes="CHECK_NOALL","CHECK" --input-file %S/arrbothmulti2.checkedNOALL2.c %s
5-
// RUN: FileCheck -match-full-lines -check-prefixes="CHECK_ALL","CHECK" --input-file %S/arrbothmulti2.checkedALL2.c %s
6-
// RUN: 3c -base-dir=%S -alltypes -output-postfix=checked2 %S/arrbothmulti1.c %s
7-
// RUN: 3c -base-dir=%S -alltypes -output-postfix=convert_again %S/arrbothmulti1.checked2.c %S/arrbothmulti2.checked2.c
8-
// RUN: test ! -f %S/arrbothmulti1.checked2.convert_again.c
9-
// RUN: test ! -f %S/arrbothmulti2.checked2.convert_again.c
10-
// RUN: rm %S/arrbothmulti1.checkedALL2.c %S/arrbothmulti2.checkedALL2.c
11-
// RUN: rm %S/arrbothmulti1.checkedNOALL2.c %S/arrbothmulti2.checkedNOALL2.c
12-
// RUN: rm %S/arrbothmulti1.checked2.c %S/arrbothmulti2.checked2.c
1+
// RUN: rm -rf %t*
2+
// RUN: 3c -base-dir=%S -addcr -alltypes -output-dir=%t.checkedALL2 %S/arrbothmulti1.c %s --
3+
// RUN: 3c -base-dir=%S -addcr -output-dir=%t.checkedNOALL2 %S/arrbothmulti1.c %s --
4+
// RUN: %clang -working-directory=%t.checkedNOALL2 -c arrbothmulti1.c arrbothmulti2.c
5+
// RUN: FileCheck -match-full-lines -check-prefixes="CHECK_NOALL","CHECK" --input-file %t.checkedNOALL2/arrbothmulti2.c %s
6+
// RUN: FileCheck -match-full-lines -check-prefixes="CHECK_ALL","CHECK" --input-file %t.checkedALL2/arrbothmulti2.c %s
7+
// RUN: 3c -base-dir=%S -alltypes -output-dir=%t.checked %S/arrbothmulti1.c %s --
8+
// RUN: 3c -base-dir=%t.checked -alltypes -output-dir=%t.convert_again %t.checked/arrbothmulti1.c %t.checked/arrbothmulti2.c --
9+
// RUN: test ! -f %t.convert_again/arrbothmulti1.c
10+
// RUN: test ! -f %t.convert_again/arrbothmulti2.c
1311

1412

1513
/*********************************************************************************/

clang/test/3C/arrcallee.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
// RUN: 3c -alltypes -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_ALL","CHECK" %s
2-
// RUN: 3c -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_NOALL","CHECK" %s
3-
// RUN: 3c -addcr %s -- | %clang -c -fcheckedc-extension -x c -o /dev/null -
1+
// RUN: rm -rf %t*
2+
// RUN: 3c -base-dir=%S -alltypes -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_ALL","CHECK" %s
3+
// RUN: 3c -base-dir=%S -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_NOALL","CHECK" %s
4+
// RUN: 3c -base-dir=%S -addcr %s -- | %clang -c -fcheckedc-extension -x c -o /dev/null -
45

5-
// RUN: 3c -alltypes -output-postfix=checked %s
6-
// RUN: 3c -alltypes %S/arrcallee.checked.c -- | count 0
7-
// RUN: rm %S/arrcallee.checked.c
6+
// RUN: 3c -base-dir=%S -alltypes -output-dir=%t.checked %s --
7+
// RUN: 3c -base-dir=%t.checked -alltypes %t.checked/arrcallee.c -- | diff %t.checked/arrcallee.c -
88

99

1010
/*********************************************************************************/

clang/test/3C/arrcalleemulti1.c

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
1-
// RUN: 3c -base-dir=%S -addcr -alltypes -output-postfix=checkedALL %s %S/arrcalleemulti2.c
2-
// RUN: 3c -base-dir=%S -addcr -output-postfix=checkedNOALL %s %S/arrcalleemulti2.c
3-
// RUN: %clang -c %S/arrcalleemulti1.checkedNOALL.c %S/arrcalleemulti2.checkedNOALL.c
4-
// RUN: FileCheck -match-full-lines -check-prefixes="CHECK_NOALL","CHECK" --input-file %S/arrcalleemulti1.checkedNOALL.c %s
5-
// RUN: FileCheck -match-full-lines -check-prefixes="CHECK_ALL","CHECK" --input-file %S/arrcalleemulti1.checkedALL.c %s
6-
// RUN: 3c -base-dir=%S -alltypes -output-postfix=checked %S/arrcalleemulti2.c %s
7-
// RUN: 3c -base-dir=%S -alltypes -output-postfix=convert_again %S/arrcalleemulti1.checked.c %S/arrcalleemulti2.checked.c
8-
// RUN: test ! -f %S/arrcalleemulti1.checked.convert_again.c
9-
// RUN: test ! -f %S/arrcalleemulti2.checked.convert_again.c
10-
// RUN: rm %S/arrcalleemulti1.checkedALL.c %S/arrcalleemulti2.checkedALL.c
11-
// RUN: rm %S/arrcalleemulti1.checkedNOALL.c %S/arrcalleemulti2.checkedNOALL.c
12-
// RUN: rm %S/arrcalleemulti1.checked.c %S/arrcalleemulti2.checked.c
1+
// RUN: rm -rf %t*
2+
// RUN: 3c -base-dir=%S -addcr -alltypes -output-dir=%t.checkedALL %s %S/arrcalleemulti2.c --
3+
// RUN: 3c -base-dir=%S -addcr -output-dir=%t.checkedNOALL %s %S/arrcalleemulti2.c --
4+
// RUN: %clang -working-directory=%t.checkedNOALL -c arrcalleemulti1.c arrcalleemulti2.c
5+
// RUN: FileCheck -match-full-lines -check-prefixes="CHECK_NOALL","CHECK" --input-file %t.checkedNOALL/arrcalleemulti1.c %s
6+
// RUN: FileCheck -match-full-lines -check-prefixes="CHECK_ALL","CHECK" --input-file %t.checkedALL/arrcalleemulti1.c %s
7+
// RUN: 3c -base-dir=%S -alltypes -output-dir=%t.checked %S/arrcalleemulti2.c %s --
8+
// RUN: 3c -base-dir=%t.checked -alltypes -output-dir=%t.convert_again %t.checked/arrcalleemulti1.c %t.checked/arrcalleemulti2.c --
9+
// RUN: test ! -f %t.convert_again/arrcalleemulti1.c
10+
// RUN: test ! -f %t.convert_again/arrcalleemulti2.c
1311

1412

1513
/*********************************************************************************/

clang/test/3C/arrcalleemulti2.c

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
1-
// RUN: 3c -base-dir=%S -addcr -alltypes -output-postfix=checkedALL2 %S/arrcalleemulti1.c %s
2-
// RUN: 3c -base-dir=%S -addcr -output-postfix=checkedNOALL2 %S/arrcalleemulti1.c %s
3-
// RUN: %clang -c %S/arrcalleemulti1.checkedNOALL2.c %S/arrcalleemulti2.checkedNOALL2.c
4-
// RUN: FileCheck -match-full-lines -check-prefixes="CHECK_NOALL","CHECK" --input-file %S/arrcalleemulti2.checkedNOALL2.c %s
5-
// RUN: FileCheck -match-full-lines -check-prefixes="CHECK_ALL","CHECK" --input-file %S/arrcalleemulti2.checkedALL2.c %s
6-
// RUN: 3c -base-dir=%S -alltypes -output-postfix=checked2 %S/arrcalleemulti1.c %s
7-
// RUN: 3c -base-dir=%S -alltypes -output-postfix=convert_again %S/arrcalleemulti1.checked2.c %S/arrcalleemulti2.checked2.c
8-
// RUN: test ! -f %S/arrcalleemulti1.checked2.convert_again.c
9-
// RUN: test ! -f %S/arrcalleemulti2.checked2.convert_again.c
10-
// RUN: rm %S/arrcalleemulti1.checkedALL2.c %S/arrcalleemulti2.checkedALL2.c
11-
// RUN: rm %S/arrcalleemulti1.checkedNOALL2.c %S/arrcalleemulti2.checkedNOALL2.c
12-
// RUN: rm %S/arrcalleemulti1.checked2.c %S/arrcalleemulti2.checked2.c
1+
// RUN: rm -rf %t*
2+
// RUN: 3c -base-dir=%S -addcr -alltypes -output-dir=%t.checkedALL2 %S/arrcalleemulti1.c %s --
3+
// RUN: 3c -base-dir=%S -addcr -output-dir=%t.checkedNOALL2 %S/arrcalleemulti1.c %s --
4+
// RUN: %clang -working-directory=%t.checkedNOALL2 -c arrcalleemulti1.c arrcalleemulti2.c
5+
// RUN: FileCheck -match-full-lines -check-prefixes="CHECK_NOALL","CHECK" --input-file %t.checkedNOALL2/arrcalleemulti2.c %s
6+
// RUN: FileCheck -match-full-lines -check-prefixes="CHECK_ALL","CHECK" --input-file %t.checkedALL2/arrcalleemulti2.c %s
7+
// RUN: 3c -base-dir=%S -alltypes -output-dir=%t.checked %S/arrcalleemulti1.c %s --
8+
// RUN: 3c -base-dir=%t.checked -alltypes -output-dir=%t.convert_again %t.checked/arrcalleemulti1.c %t.checked/arrcalleemulti2.c --
9+
// RUN: test ! -f %t.convert_again/arrcalleemulti1.c
10+
// RUN: test ! -f %t.convert_again/arrcalleemulti2.c
1311

1412

1513
/*********************************************************************************/

clang/test/3C/arrcaller.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
// RUN: 3c -alltypes -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_ALL","CHECK" %s
2-
// RUN: 3c -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_NOALL","CHECK" %s
3-
// RUN: 3c -addcr %s -- | %clang -c -fcheckedc-extension -x c -o /dev/null -
1+
// RUN: rm -rf %t*
2+
// RUN: 3c -base-dir=%S -alltypes -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_ALL","CHECK" %s
3+
// RUN: 3c -base-dir=%S -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_NOALL","CHECK" %s
4+
// RUN: 3c -base-dir=%S -addcr %s -- | %clang -c -fcheckedc-extension -x c -o /dev/null -
45

5-
// RUN: 3c -alltypes -output-postfix=checked %s
6-
// RUN: 3c -alltypes %S/arrcaller.checked.c -- | count 0
7-
// RUN: rm %S/arrcaller.checked.c
6+
// RUN: 3c -base-dir=%S -alltypes -output-dir=%t.checked %s --
7+
// RUN: 3c -base-dir=%t.checked -alltypes %t.checked/arrcaller.c -- | diff %t.checked/arrcaller.c -
88

99

1010
/*********************************************************************************/

clang/test/3C/arrcallermulti1.c

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
1-
// RUN: 3c -base-dir=%S -addcr -alltypes -output-postfix=checkedALL %s %S/arrcallermulti2.c
2-
// RUN: 3c -base-dir=%S -addcr -output-postfix=checkedNOALL %s %S/arrcallermulti2.c
3-
// RUN: %clang -c %S/arrcallermulti1.checkedNOALL.c %S/arrcallermulti2.checkedNOALL.c
4-
// RUN: FileCheck -match-full-lines -check-prefixes="CHECK_NOALL","CHECK" --input-file %S/arrcallermulti1.checkedNOALL.c %s
5-
// RUN: FileCheck -match-full-lines -check-prefixes="CHECK_ALL","CHECK" --input-file %S/arrcallermulti1.checkedALL.c %s
6-
// RUN: 3c -base-dir=%S -alltypes -output-postfix=checked %S/arrcallermulti2.c %s
7-
// RUN: 3c -base-dir=%S -alltypes -output-postfix=convert_again %S/arrcallermulti1.checked.c %S/arrcallermulti2.checked.c
8-
// RUN: test ! -f %S/arrcallermulti1.checked.convert_again.c
9-
// RUN: test ! -f %S/arrcallermulti2.checked.convert_again.c
10-
// RUN: rm %S/arrcallermulti1.checkedALL.c %S/arrcallermulti2.checkedALL.c
11-
// RUN: rm %S/arrcallermulti1.checkedNOALL.c %S/arrcallermulti2.checkedNOALL.c
12-
// RUN: rm %S/arrcallermulti1.checked.c %S/arrcallermulti2.checked.c
1+
// RUN: rm -rf %t*
2+
// RUN: 3c -base-dir=%S -addcr -alltypes -output-dir=%t.checkedALL %s %S/arrcallermulti2.c --
3+
// RUN: 3c -base-dir=%S -addcr -output-dir=%t.checkedNOALL %s %S/arrcallermulti2.c --
4+
// RUN: %clang -working-directory=%t.checkedNOALL -c arrcallermulti1.c arrcallermulti2.c
5+
// RUN: FileCheck -match-full-lines -check-prefixes="CHECK_NOALL","CHECK" --input-file %t.checkedNOALL/arrcallermulti1.c %s
6+
// RUN: FileCheck -match-full-lines -check-prefixes="CHECK_ALL","CHECK" --input-file %t.checkedALL/arrcallermulti1.c %s
7+
// RUN: 3c -base-dir=%S -alltypes -output-dir=%t.checked %S/arrcallermulti2.c %s --
8+
// RUN: 3c -base-dir=%t.checked -alltypes -output-dir=%t.convert_again %t.checked/arrcallermulti1.c %t.checked/arrcallermulti2.c --
9+
// RUN: test ! -f %t.convert_again/arrcallermulti1.c
10+
// RUN: test ! -f %t.convert_again/arrcallermulti2.c
1311

1412

1513
/*********************************************************************************/

0 commit comments

Comments
 (0)