Skip to content

Commit 12b1ea3

Browse files
Add "rm -rf %t*" lines to unmanaged tests.
1 parent 7aa29aa commit 12b1ea3

Some content is hidden

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

71 files changed

+71
-0
lines changed

clang/test/3C/allarrays.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// RUN: rm -rf %t*
12
// RUN: 3c -base-dir=%S -alltypes %s -- | FileCheck -match-full-lines --check-prefixes="CHECK" %s
23
// RUN: 3c -base-dir=%S -alltypes %s -- | %clang -c -f3c-tool -fcheckedc-extension -x c -o %t1.unused -
34

clang/test/3C/alloc_type_param.c

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

clang/test/3C/allocator.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
//
33
// Tests for malloc and friends.
44
//
5+
// RUN: rm -rf %t*
56
// RUN: 3c -base-dir=%S %s -- | FileCheck -match-full-lines %s
67
// RUN: 3c -base-dir=%S %s -- | %clang_cc1 -fno-builtin -verify -fcheckedc-extension -x c -
78
// RUN: 3c -base-dir=%S -output-dir=%t.checked %s --

clang/test/3C/alreadychecked.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// RUN: rm -rf %t*
12
// RUN: 3c -base-dir=%S -addcr %s -- | FileCheck -match-full-lines --check-prefixes="CHECK" %s
23
// RUN: 3c -base-dir=%S -addcr %s -- | %clang -c -fcheckedc-extension -x c -o /dev/null -
34
// RUN: 3c -base-dir=%S -output-dir=%t.checked -alltypes %s --

clang/test/3C/arrboundsadvanced.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// RUN: rm -rf %t*
12
// RUN: 3c -base-dir=%S -alltypes %s -- | FileCheck -match-full-lines %s
23
// RUN: 3c -base-dir=%S -alltypes %s -- | %clang -c -f3c-tool -fcheckedc-extension -x c -o %t1.unused -
34

clang/test/3C/arrboundsbasic.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// RUN: rm -rf %t*
12
// RUN: 3c -base-dir=%S -alltypes %s -- | FileCheck -match-full-lines %s
23
// RUN: 3c -base-dir=%S -alltypes %s -- | %clang -c -fcheckedc-extension -x c -o %t1.unused -
34

clang/test/3C/arrboundsbasicinfer.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// RUN: rm -rf %t*
12
// RUN: 3c -base-dir=%S -alltypes %s -- | FileCheck -match-full-lines %s
23
// RUN: 3c -base-dir=%S -alltypes %s -- | %clang -c -fcheckedc-extension -x c -o %t1.unused -
34

clang/test/3C/arrboundsbyte.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// RUN: rm -rf %t*
12
// RUN: 3c -base-dir=%S -alltypes %s -- | FileCheck -match-full-lines %s
23
// RUN: 3c -base-dir=%S -alltypes %s -- | %clang -c -fcheckedc-extension -x c -o %t1.unused -
34

clang/test/3C/arrboundsheuristics.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
//
33
// Checks wrong array heuristics.
44
//
5+
// RUN: rm -rf %t*
56
// RUN: 3c -base-dir=%S -alltypes %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_ALL","CHECK" %s
67
// RUN: 3c -base-dir=%S -alltypes %s -- | %clang -c -f3c-tool -fcheckedc-extension -x c -o %t1.unused -
78
// RUN: 3c -base-dir=%S %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_NOALL","CHECK" %s

clang/test/3C/arrboundsinfer2.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// RUN: rm -rf %t*
12
// RUN: 3c -base-dir=%S -alltypes %s -- | FileCheck -match-full-lines %s
23
// RUN: 3c -base-dir=%S -alltypes %s -- | %clang -c -fcheckedc-extension -x c -o %t1.unused -
34

clang/test/3C/arrtests_xfail.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// RUN: rm -rf %t*
12
// RUN: 3c -base-dir=%S -alltypes %s -- | FileCheck -match-full-lines %s
23
// RUN: 3c -base-dir=%S -alltypes %s -- | %clang -c -f3c-tool -fcheckedc-extension -x c -o %t1.unused -
34

clang/test/3C/basic_inter.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
//
33
// Tests properties about constraint propagation between functions.
44
//
5+
// RUN: rm -rf %t*
56
// RUN: 3c -base-dir=%S %s -- | FileCheck -match-full-lines %s
67
// RUN: 3c -base-dir=%S %s -- | %clang -c -fcheckedc-extension -x c -o %t1.unused -
78
//

clang/test/3C/basic_inter_field_ntarr.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
//
33
// Tests rewriting of Nt_array_ptrs within structure fields
44

5+
// RUN: rm -rf %t*
56
// RUN: 3c -base-dir=%S -alltypes %s -- | FileCheck -match-full-lines %s
67
// RUN: 3c -base-dir=%S -alltypes %s -- | %clang -c -f3c-tool -fcheckedc-extension -x c -o %t1.unused -
78
//

clang/test/3C/basic_inter_ntarr.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
//
33
// Tests rewriting and propagation of Nt_array_ptr constraints across functions.
44
//
5+
// RUN: rm -rf %t*
56
// RUN: 3c -base-dir=%S -alltypes %s -- | FileCheck -match-full-lines %s
67
// RUN: 3c -base-dir=%S -alltypes %s -- | %clang -c -f3c-tool -fcheckedc-extension -x c -o %t1.unused -
78
//

clang/test/3C/basic_local_ntarr.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
//
33
// Tests basic rewriting of Nt_array_ptrs
44

5+
// RUN: rm -rf %t*
56
// RUN: 3c -base-dir=%S -alltypes %s -- | FileCheck -match-full-lines %s
67
// RUN: 3c -base-dir=%S -alltypes %s -- | %clang -c -f3c-tool -fcheckedc-extension -x c -o %t1.unused -
78
//

clang/test/3C/basic_return_itype.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
//
33
// Tests properties about rewriter for return type when it is an itype
44
//
5+
// RUN: rm -rf %t*
56
// RUN: 3c -base-dir=%S -alltypes %s -- | FileCheck -match-full-lines %s
67
// RUN: 3c -base-dir=%S -alltypes %s -- | %clang -c -fcheckedc-extension -x c -o %t1.unused -
78
//

clang/test/3C/boundary_tests.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// Tests for 3C.
22
//
3+
// RUN: rm -rf %t*
34
// RUN: 3c -base-dir=%S -addcr %s -- | FileCheck -match-full-lines %s
45
// RUN: 3c -base-dir=%S -addcr %s -- | %clang_cc1 -verify -fcheckedc-extension -x c -
56
// RUN: 3c -base-dir=%S -addcr -output-dir=%t.checked %s --

clang/test/3C/bounds_interface.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// Tests for the 3C.
22
//
3+
// RUN: rm -rf %t*
34
// RUN: 3c -base-dir=%S -addcr %s -- | FileCheck -match-full-lines %s
45
// RUN: 3c -base-dir=%S -addcr %s -- | %clang_cc1 -verify -fcheckedc-extension -x c -
56
// RUN: 3c -base-dir=%S -addcr -output-dir=%t.checked %s --

clang/test/3C/checkedregionvoid.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// RUN: rm -rf %t*
12
// RUN: 3c -base-dir=%S -addcr %s -- | FileCheck -match-full-lines --check-prefixes="CHECK" %s
23
// RUN: 3c -base-dir=%S -addcr %s -- | %clang -c -fcheckedc-extension -x c -o %t1.unused -
34

clang/test/3C/complex_expression.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// Tests for 3C.
22
//
33
// Tests 3c tool for complex expressions
4+
// RUN: rm -rf %t*
45
// RUN: 3c -base-dir=%S -addcr -alltypes %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_ALL","CHECK","CHECK_NEXT" %s
56
// RUN: 3c -base-dir=%S -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_NOALL","CHECK","CHECK_NEXT" %s
67
// RUN: 3c -base-dir=%S -addcr %s -- | %clang -c -fcheckedc-extension -x c -o /dev/null -

clang/test/3C/const_tests.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
//
33
// Checks for conversions involving const-qualified types.
44
//
5+
// RUN: rm -rf %t*
56
// RUN: 3c -base-dir=%S -addcr %s -- | FileCheck -match-full-lines %s
67
// RUN: 3c -base-dir=%S -addcr %s -- | %clang_cc1 -verify -fcheckedc-extension -x c -
78
// RUN: 3c -base-dir=%S -addcr -output-dir=%t.checked %s --

clang/test/3C/contextsensitivebounds.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
Test for context sensitive bounds.
33
**/
44

5+
// RUN: rm -rf %t*
56
// RUN: 3c -base-dir=%S -alltypes %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_ALL","CHECK" %s
67
// RUN: 3c -base-dir=%S -alltypes %s -- | %clang -c -fcheckedc-extension -x c -o %t1.unusedl -
78
// RUN: 3c -base-dir=%S %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_NOALL","CHECK" %s

clang/test/3C/contextsensitivebounds1.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
Test for context sensitive bounds for internal functions.
33
**/
44

5+
// RUN: rm -rf %t*
56
// RUN: 3c -base-dir=%S -alltypes %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_ALL","CHECK" %s
67
// RUN: 3c -base-dir=%S -alltypes %s -- | %clang -c -fcheckedc-extension -x c -o %t1.unused -
78
// RUN: 3c -base-dir=%S %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_NOALL","CHECK" %s

clang/test/3C/definedType.c

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

clang/test/3C/defn_then_decl.c

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

clang/test/3C/difftypes_xfail1.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//RUN: rm -rf %t*
12
//RUN: 3c -base-dir=%S -output-dir=%t.checked %s %S/difftypes_xfail2.c --
23

34
// XFAIL: *

clang/test/3C/difftypes_xfail2.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//RUN: rm -rf %t*
12
//RUN: 3c -base-dir=%S -output-dir=%t.checked %s %S/difftypes_xfail1.c --
23

34
// XFAIL: *

clang/test/3C/dont_rewrite_header.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// RUN: rm -rf %t*
12
// RUN: 3c -base-dir=%S -alltypes -addcr -output-dir=%t.checked %S/dont_rewrite_header.c %S/dont_rewrite_header.h --
23
// RUN: FileCheck -match-full-lines -check-prefixes="CHECK" %t.checked/dont_rewrite_header.c --input-file %t.checked/dont_rewrite_header.c
34
// RUN: test ! -f %t.checked/dont_rewrite_header.h

clang/test/3C/extGVarbar1.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//RUN: rm -rf %t*
12
//RUN: 3c -base-dir=%S -output-dir=%t.checked %s %S/extGVarbar2.c --
23
//RUN: FileCheck -match-full-lines --input-file %t.checked/extGVarbar1.c %s
34
//RUN: %clang -c %t.checked/extGVarbar1.c %t.checked/extGVarbar2.c

clang/test/3C/extGVarbar2.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//RUN: rm -rf %t*
12
//RUN: 3c -base-dir=%S -output-dir=%t.checked2 %s %S/extGVarbar1.c --
23
//RUN: FileCheck -match-full-lines --input-file %t.checked2/extGVarbar2.c %s
34
//RUN: %clang -c %t.checked2/extGVarbar2.c %t.checked2/extGVarbar1.c

clang/test/3C/extGVarm1.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//RUN: rm -rf %t*
12
//RUN: 3c -base-dir=%S -output-dir=%t.checked %s %S/extGVarm2.c %S/extGVarm3.c --
23
//RUN: FileCheck -match-full-lines --input-file %t.checked/extGVarm1.c %s
34
//RUN: %clang -c %t.checked/extGVarm1.c %t.checked/extGVarm2.c %t.checked/extGVarm3.c

clang/test/3C/extGVarm2.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//RUN: rm -rf %t*
12
//RUN: 3c -base-dir=%S -output-dir=%t.checked2 %s %S/extGVarm1.c %S/extGVarm3.c --
23
//RUN: FileCheck -match-full-lines --input-file %t.checked2/extGVarm2.c %s
34
//RUN: %clang -c %t.checked2/extGVarm2.c %t.checked2/extGVarm3.c %t.checked2/extGVarm1.c

clang/test/3C/extGVarm3.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//RUN: rm -rf %t*
12
//RUN: 3c -base-dir=%S -output-dir=%t.checked3 %s %S/extGVarm1.c %S/extGVarm2.c --
23
//RUN: FileCheck -match-full-lines --input-file %t.checked3/extGVarm3.c %s
34
//RUN: %clang -c %t.checked3/extGVarm3.c %t.checked3/extGVarm2.c %t.checked3/extGVarm1.c

clang/test/3C/functionDeclEnd.c

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

clang/test/3C/global.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
//
33
// Tests for rewriting global declarations.
44
//
5+
// RUN: rm -rf %t*
56
// RUN: 3c -base-dir=%S -addcr %s -- | FileCheck -match-full-lines %s
67
// RUN: 3c -base-dir=%S -addcr %s -- | %clang_cc1 -fno-builtin -verify -fcheckedc-extension -x c -
78
// RUN: 3c -base-dir=%S -addcr -output-dir=%t.checked %s --

clang/test/3C/hash.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// RUN: rm -rf %t*
12
// RUN: 3c -base-dir=%S -alltypes %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_ALL","CHECK" %s
23
// RUN: 3c -base-dir=%S -alltypes %s -- | %clang -f3c-tool -c -fcheckedc-extension -x c -o %t1.unused -
34

clang/test/3C/inline_anon_structs.c

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

clang/test/3C/itypecast.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
//
33
// Checks cast insertion while passing arguments to itype parameters.
44
//
5+
// RUN: rm -rf %t*
56
// RUN: 3c -base-dir=%S -addcr -alltypes %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_ALL","CHECK" %s
67
// RUN: 3c -base-dir=%S -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_NOALL","CHECK" %s
78
// RUN: 3c -base-dir=%S -addcr %s -- | %clang -c -fcheckedc-extension -x c -o /dev/null -

clang/test/3C/liberal_itypes_fp.c

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

clang/test/3C/liberal_itypes_ptr.c

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

clang/test/3C/liberal_itypes_ptrptr.c

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

clang/test/3C/lowerbound.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// Generates graph q0 --> ARR --> q1, to confirm that bound bound
22
// constraints are properly solved
33
// The following test is supposed to fail with the current tool.
4+
// RUN: rm -rf %t*
45
// RUN: 3c -base-dir=%S -alltypes %s -- | FileCheck -match-full-lines %s
56
// RUN: 3c -base-dir=%S -alltypes %s -- | %clang -c -f3c-tool -fcheckedc-extension -x c -o %t.unused -
67
//

clang/test/3C/macroConcat.c

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

clang/test/3C/manyprotos.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// RUN: rm -rf %t*
12
// RUN: 3c -base-dir=%S -alltypes %s -- | FileCheck -match-full-lines --check-prefixes="CHECK" %s
23
// RUN: 3c -base-dir=%S -alltypes %s -- | %clang -c -fcheckedc-extension -x c -o %t1.unused -
34

clang/test/3C/multiconstant_bounds.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// When multiple constants are potential bounds, pick the lower constant.
44
// Issue: https://github.com/correctcomputation/checkedc-clang/issues/390
55
//
6+
// RUN: rm -rf %t*
67
// RUN: 3c -base-dir=%S -alltypes %s -- | FileCheck -match-full-lines %s
78
// RUN: 3c -base-dir=%S -alltypes %s -- | %clang -c -fcheckedc-extension -Xclang -verify -x c -o %t1.unused -
89
// expected-no-diagnostics

clang/test/3C/multidef_xfail1.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// RUN: rm -rf %t*
12
// RUN: 3c -base-dir=%S -output-dir=%t.checked %s %S/multidef_xfail2.c --
23

34
// XFAIL: *

clang/test/3C/multidef_xfail2.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// RUN: rm -rf %t*
12
// RUN: 3c -base-dir=%S -output-dir=%t.checked %s %S/multidef_xfail1.c --
23

34
// XFAIL: *

clang/test/3C/multipledecls.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
//
33
// Checks handling of multiple declarations.
44
//
5+
// RUN: rm -rf %t*
56
// RUN: 3c -base-dir=%S -addcr %s -- | FileCheck -match-full-lines %s
67
// RUN: 3c -base-dir=%S -addcr %s -- | %clang_cc1 -verify -fcheckedc-extension -x c -
78
// RUN: 3c -base-dir=%S -addcr -output-dir=%t.checked %s --

clang/test/3C/multivardecls.c

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

clang/test/3C/no_casts.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// RUN: rm -rf %t*
12
// RUN: 3c -base-dir=%S %s -- | diff %s -
23
// RUN: 3c -base-dir=%S %s -- | %clang -c -fcheckedc-extension -x c -o %t.unused -
34

clang/test/3C/noproto.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// RUN: rm -rf %t*
12
// RUN: 3c -base-dir=%S -addcr %s -- | FileCheck -match-full-lines --check-prefixes="CHECK" %s
23
// RUN: 3c -base-dir=%S -addcr %s -- | %clang -c -fcheckedc-extension -x c -o %t.unused -
34

clang/test/3C/order.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// RUN: rm -rf %t*
12
// RUN: 3c -base-dir=%S %s -- | FileCheck -match-full-lines %s
23
// RUN: 3c -base-dir=%S %s -- | %clang -c -fcheckedc-extension -x c -o %t.unused -
34

clang/test/3C/partial_checked.c

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

clang/test/3C/partial_checked_arr.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// RUN: rm -rf %t*
12
// RUN: 3c -base-dir=%S -addcr -alltypes %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_ALL","CHECK" %s
23
// RUN: 3c -base-dir=%S -addcr -alltypes %s -- | %clang -c -f3c-tool -fcheckedc-extension -x c -o %t1.unused -
34
// RUN: 3c -base-dir=%S -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_NOALL","CHECK" %s

clang/test/3C/patch_issue_272.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// RUN: rm -rf %t*
12
// RUN: 3c -base-dir=%S -alltypes %s -- | FileCheck -match-full-lines %s
23
// RUN: 3c -base-dir=%S -alltypes %s -- | %clang -c -f3c-tool -fcheckedc-extension -x c -o %t.unused -
34

clang/test/3C/placements.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
//
33
// Checks properties of functions.
44
//
5+
// RUN: rm -rf %t*
56
// RUN: 3c -base-dir=%S -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK","CHECK_NOALL","CHECK-NEXT" %s
67
// RUN: 3c -base-dir=%S -addcr -alltypes %s -- | FileCheck -match-full-lines -check-prefixes="CHECK","CHECK_ALL","CHECK-NEXT" %s
78
// RUN: 3c -base-dir=%S -addcr %s -- | %clang_cc1 -verify -fcheckedc-extension -x c -

clang/test/3C/pointerarithm.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// RUN: rm -rf %t*
12
// RUN: 3c -base-dir=%S -alltypes -addcr %s -- | FileCheck -match-full-lines %s
23
// RUN: 3c -base-dir=%S -alltypes -addcr %s -- | %clang -c -f3c-tool -fcheckedc-extension -x c -o %t.unused -
34
// RUN: 3c -base-dir=%S -addcr -alltypes -output-dir=%t.checked %s --

clang/test/3C/prototype_success1.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//RUN: rm -rf %t*
12
//RUN: 3c -base-dir=%S -output-dir=%t.checked %s %S/prototype_success2.c --
23
//RUN: FileCheck -match-full-lines --input-file %t.checked/prototype_success1.c %s
34
//RUN: %clang -c %t.checked/prototype_success1.c %t.checked/prototype_success2.c

clang/test/3C/prototype_success2.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//RUN: rm -rf %t*
12
//RUN: 3c -base-dir=%S -output-dir=%t.checked2 %s %S/prototype_success1.c --
23
//RUN: FileCheck -match-full-lines --input-file %t.checked2/prototype_success2.c %s
34
//RUN: %clang -c %t.checked2/prototype_success1.c %t.checked2/prototype_success2.c

clang/test/3C/ptrptr.c

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

clang/test/3C/ptrtoconstarr.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// RUN: rm -rf %t*
12
// RUN: 3c -base-dir=%S -alltypes -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_ALL","CHECK" %s
23
// RUN: 3c -base-dir=%S -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_NOALL","CHECK" %s
34
// RUN: 3c -base-dir=%S --addcr --alltypes %s -- | %clang_cc1 -fcheckedc-extension -x c -

clang/test/3C/qualifiers.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// RUN: rm -rf %t*
12
// RUN: 3c -base-dir=%S -alltypes -output-dir=%t.checkedALL %s --
23
// RUN: 3c -base-dir=%S -output-dir=%t.checkedNOALL %s --
34
// RUN: %clang -c %t.checkedNOALL/qualifiers.c

clang/test/3C/regression_tests_xfail.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
//
33
// Tests 3c tool for any regressions.
44
//
5+
// RUN: rm -rf %t*
56
// RUN: 3c -base-dir=%S -alltypes %s -- | FileCheck -match-full-lines %s
67
// RUN: 3c -base-dir=%S -alltypes %s -- | %clang -c -fcheckedc-extension -x c -o %t.unused -
78
//

clang/test/3C/rewrite_header.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// RUN: rm -rf %t*
12
// RUN: 3c -base-dir=%S -alltypes -addcr -output-dir=%t.checked %S/rewrite_header.c %S/rewrite_header.h --
23
// RUN: FileCheck -match-full-lines -check-prefixes="CHECK" %t.checked/rewrite_header.c --input-file %t.checked/rewrite_header.c
34
// RUN: FileCheck -match-full-lines -check-prefixes="CHECK" %t.checked/rewrite_header.h --input-file %t.checked/rewrite_header.h

clang/test/3C/simple_locals.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
//
33
// Checks very simple inference properties for local variables.
44
//
5+
// RUN: rm -rf %t*
56
// RUN: 3c -base-dir=%S -addcr %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_NOALL","CHECK" %s
67
// RUN: 3c -base-dir=%S -addcr %s -- | %clang_cc1 -verify -fcheckedc-extension -x c -
78
// RUN: 3c -base-dir=%S -addcr -alltypes %s -- | FileCheck -match-full-lines -check-prefixes="CHECK_ALL","CHECK" %s

clang/test/3C/stmtexpr.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// RUN: rm -rf %t*
12
// RUN: 3c -base-dir=%S -addcr %s -- | FileCheck -match-full-lines --check-prefixes="CHECK" %s
23
// RUN: 3c -base-dir=%S -addcr %s -- | %clang -c -fcheckedc-extension -x c -o %t.unused -
34

clang/test/3C/struct_init_list.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// RUN: rm -rf %t*
12
// RUN: 3c -base-dir=%S -alltypes %s -- | FileCheck -match-full-lines %s
23
// RUN: 3c -base-dir=%S -alltypes %s -- | %clang -c -fcheckedc-extension -x c -o /dev/null -
34
// RUN: 3c -base-dir=%S -alltypes %s -- | %clang_cc1 -fno-builtin -verify -fcheckedc-extension -x c -

0 commit comments

Comments
 (0)