Home
last modified time | relevance | path

Searched refs:mismatch (Results 1 – 25 of 271) sorted by relevance

1234567891011

/llvm-project-15.0.7/llvm/test/tools/dsymutil/X86/
H A Dmismatch.m3 module mismatch {
4 header "mismatch.h"
7 echo "struct s;"> mismatch.h
10 -fdisable-module-hash mismatch.m -o 1.o
11 echo > mismatch.h
14 -fdisable-module-hash mismatch.m -o /dev/null
18 // RUN: cp %p/../Inputs/mismatch/1.o %p/../Inputs/mismatch/mismatch.pcm %t.dir
19 // RUN: cp %p/../Inputs/mismatch/1.o %t.dir/2.o
23 @import mismatch;
27 // CHECK: warning: hash mismatch
[all …]
H A Dtimestamp-mismatch.test8 CHECK: warning: {{.*}}/Inputs/basic1.macho.x86_64.o: timestamp mismatch between object file ({{.*}}…
9 CHECK: warning: {{.*}}/Inputs/basic2.macho.x86_64.o: timestamp mismatch between object file ({{.*}}…
10 CHECK: warning: {{.*}}/Inputs/basic3.macho.x86_64.o: timestamp mismatch between object file ({{.*}}…
/llvm-project-15.0.7/libcxx/test/std/algorithms/alg.nonmodifying/mismatch/
H A Dmismatch_pred.pass.cpp39 auto p1 = std::mismatch(std::begin(ia), std::end(ia), std::begin(ic), eq); in test_constexpr()
47 auto p3 = std::mismatch(std::begin(ib), std::end(ib), std::begin(ic), eq); in test_constexpr()
82 assert(std::mismatch(II(ia), II(ia + sa), II(ib), EQ()) in main()
84 assert(std::mismatch(RAI(ia), RAI(ia + sa), RAI(ib), EQ()) in main()
88 assert(std::mismatch(RAI(ia), RAI(ia + sa), RAI(ib), std::ref(bcp)) in main()
94 assert(std::mismatch(II(ia), II(ia + sa), II(ib), II(ib + sb), EQ()) in main()
96 assert(std::mismatch(RAI(ia), RAI(ia + sa), RAI(ib), RAI(ib + sb), EQ()) in main()
99 assert(std::mismatch(II(ia), II(ia + sa), II(ib), II(ib + sb), std::ref(bcp)) in main()
104 assert(std::mismatch(ia, ia + sa, ib, EQ()) == in main()
108 assert(std::mismatch(ia, ia + sa, ib, ib + sb, EQ()) == in main()
[all …]
H A Dmismatch.pass.cpp34 auto p1 = std::mismatch(std::begin(ia), std::end(ia), std::begin(ic)); in test_constexpr()
38 auto p2 = std::mismatch(std::begin(ia), std::end(ia), std::begin(ic), std::end(ic)); in test_constexpr()
42 auto p3 = std::mismatch(std::begin(ib), std::end(ib), std::begin(ic)); in test_constexpr()
46 auto p4 = std::mismatch(std::begin(ib), std::end(ib), std::begin(ic), std::end(ic)); in test_constexpr()
50 auto p5 = std::mismatch(II(std::begin(ib)), II(std::end(ib)), II(std::begin(ic))); in test_constexpr()
53 …auto p6 = std::mismatch(BI(std::begin(ib)), BI(std::end(ib)), BI(std::begin(ic)), BI(std::end(ic))… in test_constexpr()
71 assert(std::mismatch(II(ia), II(ia + sa), II(ib)) in main()
74 assert(std::mismatch(RAI(ia), RAI(ia + sa), RAI(ib)) in main()
78 assert(std::mismatch(II(ia), II(ia + sa), II(ib), II(ib+sb)) in main()
81 assert(std::mismatch(RAI(ia), RAI(ia + sa), RAI(ib), RAI(ib+sb)) in main()
[all …]
H A Dranges_mismatch.pass.cpp110 std::same_as<Expected> auto ret = std::ranges::mismatch(a, b); in test()
134 std::same_as<Expected> auto ret = std::ranges::mismatch(a, b); in test()
143 std::same_as<Expected> auto ret = std::ranges::mismatch(a, b); in test()
174 auto [ai, bi] = std::ranges::mismatch(a, b); in test()
177 auto [aj, bj] = std::ranges::mismatch(a, a+4, b, b+5); in test()
208 auto ret = std::ranges::mismatch(a, b, in test()
219 auto ret = std::ranges::mismatch(a, a, in test()
231 auto ret = std::ranges::mismatch(a, a + 8, b, b + 8, in test()
242 auto ret = std::ranges::mismatch(a, a + 8, a, a + 8, in test()
259 auto ret = std::ranges::mismatch(a, a, in test()
[all …]
/llvm-project-15.0.7/llvm/test/tools/llvm-profdata/
H A Dthreaded-count-mismatch.test4 RUN: %S/Inputs/counter-mismatch-1.proftext \
5 RUN: %S/Inputs/counter-mismatch-2.proftext \
6 RUN: %S/Inputs/counter-mismatch-3.proftext \
7 RUN: %S/Inputs/counter-mismatch-4.proftext \
10 CHECK: {{.+}}: foo: function basic block count change detected (counter mismatch)
/llvm-project-15.0.7/libcxx/include/__algorithm/
H A Dmismatch.h27 …mismatch(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _BinaryPredi… in mismatch() function
37 mismatch(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2) { in mismatch() function
40 return _VSTD::mismatch(__first1, __last1, __first2, __equal_to<__v1, __v2>()); in mismatch()
47 …mismatch(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _InputIterat… in mismatch() function
58 …mismatch(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _InputIterat… in mismatch() function
61 return _VSTD::mismatch(__first1, __last1, __first2, __last2, __equal_to<__v1, __v2>()); in mismatch()
/llvm-project-15.0.7/lld/test/ELF/linkerscript/
H A Dcustom-section-type.s6 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %t/mismatch.s -o %t/mismatch.o
25 # RUN: not ld.lld -T %t/a.lds %t/a.o %t/mismatch.o -o /dev/null 2>&1 | FileCheck %s --check-prefix=…
27 # ERR1: error: section type mismatch for progbits
30 # ERR1: error: section type mismatch for expr
34 # RUN: ld.lld -T %t/a.lds %t/a.o %t/mismatch.o -o %t/mismatch --noinhibit-exec
35 # RUN: llvm-readelf -S %t/mismatch | FileCheck %s --check-prefix=MISMATCH
75 #--- mismatch.s
H A Dnoload.s4 # RUN: llvm-mc -filetype=obj -triple=x86_64 %t/mismatch.s -o %t/mismatch.o
22 # RUN: ld.lld --script %t/lds %t.o %t/mismatch.o -o %t/out 2>&1 | FileCheck %s --check-prefix=WARN
25 # WARN: warning: section type mismatch for .data_noload_a
39 #--- mismatch.s
/llvm-project-15.0.7/llvm/test/MachineVerifier/
H A Dtest_g_ptrmask.mir15 ; CHECK: Bad machine code: Type mismatch in generic instruction
19 ; CHECK: Bad machine code: Type mismatch in generic instruction
28 ; CHECK: Bad machine code: Type mismatch in generic instruction
32 ; CHECK: Bad machine code: Type mismatch in generic instruction
35 ; CHECK: Bad machine code: Type mismatch in generic instruction
40 ; CHECK: Bad machine code: Type mismatch in generic instruction
H A Dtest_g_ptr_add.mir17 ; CHECK: Bad machine code: Type mismatch in generic instruction
20 ; CHECK: Bad machine code: Type mismatch in generic instruction
26 ; CHECK: Bad machine code: Type mismatch in generic instruction
H A Dtest_g_assert_sext.mir20 ; CHECK: *** Bad machine code: Type mismatch in generic instruction ***
24 ; CHECK: *** Bad machine code: Type mismatch in generic instruction ***
36 ; CHECK: *** Bad machine code: Type mismatch in generic instruction ***
/llvm-project-15.0.7/clang/test/ASTMerge/interface/Inputs/
H A Dinterface2.m13 // Ivar mismatch
20 // Superclass mismatch
31 // Method mismatch
36 // Method mismatch
42 // Method mismatch
H A Dinterface1.m13 // Ivar mismatch
20 // Superclass mismatch
31 // Method mismatch
37 // Method mismatch
43 // Method mismatch
/llvm-project-15.0.7/pstl/test/std/algorithms/alg.nonmodifying/
H A Dmismatch.pass.cpp30 const auto expected = std::mismatch(first1, last1, first2, std::equal_to<T>()); in operator ()()
31 const auto res3 = mismatch(exec, first1, last1, first2, std::equal_to<T>()); in operator ()()
33 const auto res4 = mismatch(exec, first1, last1, first2); in operator ()()
44 …const auto expected = mismatch(std::execution::seq, first1, last1, first2, last2, std::equal_to<T>… in operator ()()
45 const auto res1 = mismatch(exec, first1, last1, first2, last2, std::equal_to<T>()); in operator ()()
47 const auto res2 = mismatch(exec, first1, last1, first2, last2); in operator ()()
116 mismatch(exec, first_iter, first_iter, second_iter, second_iter, non_const(std::less<T>())); in operator ()()
/llvm-project-15.0.7/llvm/test/Linker/
H A Dmetadata-mismatch.test1 ; RUN: llvm-link %p/Inputs/metadata-mismatch-a.ll %p/Inputs/metadata-mismatch-b.ll -S 2>&1 | FileCh…
3 …arf Version': IDs have conflicting values ('i32 5' from {{.*}}/metadata-mismatch-b.ll with 'i32 4'…
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/bugprone/
H A Dshared-ptr-array-mismatch.rst1 .. title:: clang-tidy - bugprone-shared-ptr-array-mismatch
3 bugprone-shared-ptr-array-mismatch
22 …warning: shared pointer to non-array is initialized with array [bugprone-shared-ptr-array-mismatch]
24 …warning: shared pointer to non-array is initialized with array [bugprone-shared-ptr-array-mismatch]
30 …warning: shared pointer to non-array is initialized with array [bugprone-shared-ptr-array-mismatch]
/llvm-project-15.0.7/lld/test/COFF/
H A Dpgo-warn-mismatch.ll7 ; Ensure lld generates warnings for profile cfg mismatch.
8 ; RUN: lld-link /dll /noentry /export:f /lto-cs-profile-file:%t/cs.profdata /lto-pgo-warn-mismatch …
10 ; Ensure lld will not generate warnings for profile cfg mismatch.
11 ; RUN: lld-link /dll /noentry /export:f /lto-cs-profile-file:%t/cs.profdata /lto-pgo-warn-mismatch:…
13 ; CHECK: warning: {{.*}} function control flow change detected (hash mismatch) f Hash = [[#]]
/llvm-project-15.0.7/lld/test/ELF/lto/
H A Dpgo-warn-mismatch.ll7 ;; Ensure lld generates warnings for profile cfg mismatch.
8 ; RUN: ld.lld --lto-cs-profile-file=%t/cs.profdata --lto-pgo-warn-mismatch -shared %t/a.bc -o /dev/…
10 ;; Ensure lld will not generate warnings for profile cfg mismatch.
11 ; RUN: ld.lld --lto-cs-profile-file=%t/cs.profdata --no-lto-pgo-warn-mismatch -shared --fatal-warni…
13 ; CHECK: warning: {{.*}} function control flow change detected (hash mismatch) f Hash = [[#]]
/llvm-project-15.0.7/clang/test/Modules/
H A Dredecl-ivars.m4 // RUN: %clang_cc1 -fsyntax-only -fobjc-runtime=macosx-10.9 -verify -I%t/include %t/test-mismatch-i…
5 // RUN: %clang_cc1 -fsyntax-only -fobjc-runtime=macosx-10.9 -verify -I%t/include %t/test-mismatch-i…
8 // RUN: %clang_cc1 -fsyntax-only -fobjc-runtime=macosx-10.9 -verify -I%t/include %t/test-mismatch-i…
9 // RUN: %clang_cc1 -fsyntax-only -fobjc-runtime=macosx-10.9 -verify -I%t/include %t/test-mismatch-i…
12 // RUN: %clang_cc1 -fsyntax-only -fobjc-runtime=macosx-10.9 -verify -I%t/include %t/test-mismatch-i…
13 // RUN: %clang_cc1 -fsyntax-only -fobjc-runtime=macosx-10.9 -verify -I%t/include %t/test-mismatch-i…
87 //--- test-mismatch-in-extension.m
105 //--- test-mismatch-in-ivars-number.m
119 //--- test-mismatch-in-methods-protocols.m
H A Dwarning-mismatch.m5 // RUN: -I%S/Inputs/warning-mismatch %t.m -fsyntax-only
8 // RUN: -I%S/Inputs/warning-mismatch %s -fsyntax-only
10 // This testcase triggers a warning flag mismatch in an already validated
/llvm-project-15.0.7/clang/test/Analysis/
H A DNewDelete-intersections.mm14 // RUN: -verify=mismatch \
47 …// mismatch-warning@-1{{Memory allocated by malloc() should be deallocated by free(), not 'delete'…
62 …// mismatch-warning@-1{{Memory allocated by operator new should be deallocated by 'delete', not fr…
68 // mismatch-warning@-1{{Memory allocated by 'new' should be deallocated by 'delete', not free()}}
75 …// mismatch-warning@-1{{+dataWithBytesNoCopy:length:freeWhenDone: cannot take ownership of memory …
/llvm-project-15.0.7/lld/test/wasm/
H A Dsignature-mismatch-weak.ll16 ; CHECK: warning: function signature mismatch: weakFn
17 ; CHECK-NEXT: >>> defined as () -> i32 in {{.*}}signature-mismatch-weak.ll.tmp.o
18 ; CHECK-NEXT: >>> defined as () -> i64 in {{.*}}signature-mismatch-weak.ll.tmp.strong.o
/llvm-project-15.0.7/llvm/test/TableGen/
H A DBitsInit.td33 bits<3> D3 = { 0, 0 }; // type mismatch. RHS doesn't have enough bits
34 bits<3> D4 = { 0b00 }; // type mismatch. RHS doesn't have enough bits
37 bits<1> D7 = { 3 }; // type mismatch. LHS doesn't have enough bits
38 bits<2> D8 = { 0 }; // type mismatch. RHS doesn't have enough bits
/llvm-project-15.0.7/flang/test/Semantics/
H A Dresolve99.f9045 subroutine mismatch() subroutine
49 end subroutine mismatch argument

1234567891011