| /llvm-project-15.0.7/clang/test/Sema/ |
| H A D | format-strings-ms.c | 51 double bad; in w_test() local 52 …printf("%wc", bad); // expected-warning{{format specifies type 'wint_t' (aka 'unsigned short') but… in w_test() 68 double bad; in h_test() local 69 …printf("%hc", bad); // expected-warning{{format specifies type 'int' but the argument has type 'do… in h_test() 70 …printf("%hC", bad); // expected-warning{{format specifies type 'int' but the argument has type 'do… in h_test() 71 …printf("%hs", bad); // expected-warning{{format specifies type 'char *' but the argument has type … in h_test() 72 …printf("%hS", bad); // expected-warning{{format specifies type 'char *' but the argument has type … in h_test() 73 …scanf("%hc", &bad); // expected-warning{{format specifies type 'char *' but the argument has type … in h_test() 74 …scanf("%hC", &bad); // expected-warning{{format specifies type 'char *' but the argument has type … in h_test() 75 …scanf("%hs", &bad); // expected-warning{{format specifies type 'char *' but the argument has type … in h_test() [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/ |
| H A D | fast-isel-fcmp-nan.ll | 11 bad: 27 bad: 43 bad: 58 bad: 73 bad: 89 bad: 105 bad: 120 bad: 135 bad: 151 bad: [all …]
|
| /llvm-project-15.0.7/llvm/test/Bitcode/ |
| H A D | blockaddress-addrspace.ll | 3 ; RUN: not llvm-as %t/global-use-bad.ll -o /dev/null 2>&1 | FileCheck %t/global-use-bad.ll 15 ; RUN: not llvm-as %t/phi-bad.ll -o /dev/null 2>&1 | FileCheck %t/phi-bad.ll 43 ;--- global-use-bad.ll 62 ;--- global-fwddecl-bad.ll 93 ;--- return-fwddecl-bad.ll 139 ;--- return-self-bad.ll 150 ;--- return-self-bad-2.ll 191 ;--- call-fwddecl-bad.ll 229 ;--- phi-bad.ll 262 ;--- fwddecl-phi-bad.ll [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/input.output/iostreams.base/ios/iostate.flags/ |
| H A D | bad.pass.cpp | 27 assert(ios.bad()); in main() 29 assert(ios.bad()); in main() 34 assert(!ios.bad()); in main() 36 assert(!ios.bad()); in main() 38 assert(!ios.bad()); in main() 40 assert(ios.bad()); in main()
|
| /llvm-project-15.0.7/lld/test/MachO/invalid/ |
| H A D | compact-unwind-bad-reloc.s | 3 # RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin19.0.0 %t/bad-function.s -o %t/bad-function… 4 # RUN: not %lld -lSystem -dylib -lc++ %t/bad-function.o -o /dev/null 2>&1 | FileCheck %s 5 # CHECK: error: {{.*}}bad-function.o:(__compact_unwind+0x0) references section __data which is not … 6 # CHECK: error: {{.*}}bad-function.o:(__compact_unwind+0x20) references section __data which is not… 8 #--- bad-function.s
|
| /llvm-project-15.0.7/llvm/test/Verifier/ |
| H A D | dbg-typerefs.ll | 2 ; Check that the debug info verifier gives nice errors for bad type refs 10 !2 = !DIDerivedType(tag: DW_TAG_pointer_type, size: 32, align: 32, baseType: !"2.bad") 12 !4 = !DIDerivedType(tag: DW_TAG_pointer_type, size: 32, align: 32, baseType: !"4.bad") 25 ; CHECK-SAME: baseType: !"2.bad" 26 ; CHECK-NEXT: !"2.bad" 29 ; CHECK-SAME: baseType: !"4.bad" 30 ; CHECK-NEXT: !"4.bad"
|
| H A D | tbaa.ll | 82 ; CHECK-NEXT:!{{[0-9]+}} = !{!"bad-struct-type-0", !{{[0-9]+}}, i64 40, !{{[0-9]+}}} 114 !5 = !{!"bad-scalar-0", i64 40} 116 !7 = !{!"bad-scalar-1", null} 117 !8 = !{!"bad-struct-type-0", !1, i64 40, !1} 118 !9 = !{!"bad-struct-type-1", !1, i64 40, i64 56, !1} 119 !10 = !{!"bad-struct-type-2", !1, i64 40, !1, i32 56} 120 !11 = !{!"bad-struct-type-2", !1, i64 80, !1, i64 56} 121 !12 = !{!"bad-scalar-2", !3, i64 0} 123 !14 = !{!"bad-scalar-2", !13}
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-ar/ |
| H A D | mri-create.test | 23 ## Test bad paths with CREATE. 24 # RUN: not llvm-ar -M < bad.mri 2>&1 | FileCheck --check-prefix=BAD -DMSG=%errc_ENOENT %s 25 # RUN: not llvm-ar -M < thin-bad.mri 2>&1 | FileCheck --check-prefix=BAD -DMSG=%errc_ENOENT %s 26 # BAD: error: bad/bad.a: [[MSG]] 75 #--- bad.mri 76 CREATE bad/bad.a 79 #--- thin-bad.mri 80 CREATETHIN bad/bad.a
|
| H A D | mri-errors.test | 12 # RUN: echo "addlib %t/bad.a" >> %t/script2.mri 14 # RUN: echo "bad archive" > %t/bad.a 32 # RUN: echo "bad command" >> %t/script5.mri 35 # SCRIPT5: error: script line 2: unknown command: bad 37 # RUN: echo "bad command" | not llvm-ar -M 2>&1 | FileCheck --check-prefix=SCRIPT6 %s 38 # SCRIPT6: error: script line 1: unknown command: bad
|
| /llvm-project-15.0.7/clang/test/SemaObjC/ |
| H A D | objc-cstyle-args-in-methods.m | 5 - (id)bad:(id)one, id two, double three; 10 - (id)bad:(id)one, id two, double three { return two; } 17 [foo bad:@"One", @"Two"]; // expected-error {{too few arguments to method call}} 18 [foo bad:@"One", @"Two", 3.14]; 19 [foo bad:@"One", @"Two", 3.14, @"Two"]; // expected-error {{too many arguments to method call}}
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-objdump/MachO/ |
| H A D | bad-bind.test | 2 …eb': truncated or malformed object (for BIND_OPCODE_SET_DYLIB_ORDINAL_ULEB bad library ordinal: 35… 17 …set-type-imm': truncated or malformed object (for BIND_OPCODE_SET_TYPE_IMM bad bind type: 5 for op… 23 …truncated or malformed object (for BIND_OPCODE_SET_SEGMENT_AND_OFFSET_ULEB bad segIndex (too large… 29 …d_addr_uleb': truncated or malformed object (for BIND_OPCODE_ADD_ADDR_ULEB bad offset, not in sect… 49 RUN: not llvm-objdump --macho --bind %p/Inputs/macho-bind-bad-opcode-value 2>&1 | FileCheck --check… 50 BAD-OPCODE-VALUE: macho-bind-bad-opcode-value': truncated or malformed object (bad bind info (bad o… 71 …t-type-imm': truncated or malformed object (for REBASE_OPCODE_SET_TYPE_IMM bad bind type: 5 for op… 83 …addr-uleb': truncated or malformed object (for REBASE_OPCODE_ADD_ADDR_ULEB bad offset, not in sect… 89 …mes': truncated or malformed object (for REBASE_OPCODE_DO_REBASE_IMM_TIMES bad offset, not in sect… 100 RUN: not llvm-objdump --macho --rebase %p/Inputs/macho-rebase-bad-opcode-value 2>&1 | FileCheck --c… [all …]
|
| H A D | bad-trie.test | 1 RUN: not llvm-objdump --macho --exports-trie %p/Inputs/macho-trie-bad-kind 2>&1 | FileCheck --check… 2 BAD_KIND: macho-trie-bad-kind': truncated or malformed object (unsupported exported symbol kind: 3 … 4 RUN: not llvm-objdump --macho --exports-trie %p/Inputs/macho-trie-bad-export-info-malformed-uleb128… 5 MALFORMED_ULEB128: macho-trie-bad-export-info-malformed-uleb128': truncated or malformed object (ex… 7 RUN: not llvm-objdump --macho --exports-trie %p/Inputs/macho-trie-bad-export-info-malformed-uleb128… 8 MALFORMED_ULEB128_TOO_BIG: macho-trie-bad-export-info-malformed-uleb128_too_big': truncated or malf… 31 RUN: not llvm-objdump --macho --exports-trie %p/Inputs/macho-trie-bad-library-ordinal 2>&1 | FileCh… 32 BAD_LIBRARY_ORDINAL: macho-trie-bad-library-ordinal': truncated or malformed object (bad library or…
|
| H A D | bad-ordinal.test | 1 # RUN: not llvm-objdump --macho --lazy-bind %p/Inputs/bad-ordinal.macho-x86_64 \ 4 # CHECK: bad-ordinal.macho-x86_64': truncated or malformed object (for BIND_OPCODE_SET_DYLIB_ORDINA…
|
| /llvm-project-15.0.7/llvm/test/Other/ |
| H A D | pass-pipeline-parsing.ll | 218 ; RUN: not opt -passes='no-op-module,bad' \ 220 ; CHECK-UNKNOWN-MODULE: unknown module pass 'bad' 222 ; RUN: not opt -passes='no-op-loop,bad' \ 224 ; CHECK-UNKNOWN-LOOP: unknown loop pass 'bad' 226 ; RUN: not opt -passes='no-op-cgscc,bad' \ 228 ; CHECK-UNKNOWN-CGSCC: unknown cgscc pass 'bad' 230 ; RUN: not opt -passes='no-op-function,bad' \ 232 ; RUN: not opt -passes='function(bad,pipeline,text)' \ 240 ; CHECK-UNKNOWN-FUNCTION: unknown function pass 'bad' 242 ; RUN: not opt -aa-pipeline=bad -passes=no-op-function \ [all …]
|
| /llvm-project-15.0.7/mlir/test/Dialect/AMX/ |
| H A D | invalid.mlir | 6 // expected-error@+1 {{'amx.tile_zero' op bad row height: 17}} 13 // expected-error@+1 {{'amx.tile_zero' op bad column width: 65}} 20 // expected-error@+1 {{'amx.tile_zero' op bad column width: 5}} 28 // expected-error@+1 {{'amx.tile_load' op bad column width: 68}} 46 // expected-error@+1 {{'amx.tile_mulf' op bad mult shape: 4 x 4 x 4}}
|
| /llvm-project-15.0.7/libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/ |
| H A D | putback.pass.cpp | 51 assert(is.bad()); in main() 64 assert(is.bad()); in main() 75 assert(is.bad()); in main() 88 assert(is.bad()); in main() 104 assert( is.bad()); in main() 120 assert( is.bad()); in main()
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-profdata/ |
| H A D | text-format-errors.test | 1 Tests for instrumentation profile bad encoding. 13 2- Detect bad hash 14 RUN: not llvm-profdata show %p/Inputs/bad-hash.proftext 2>&1 | FileCheck %s --check-prefix=BAD-HASH… 15 BAD-HASH-SHOW: error: {{.*}}bad-hash.proftext: malformed instrumentation profile data 17 RUN: not llvm-profdata merge %p/Inputs/bad-hash.proftext %p/Inputs/bad-hash.proftext -o %t.out 2>&1… 18 BAD-HASH-MERGE: warning: {{.*}}bad-hash.proftext: malformed instrumentation profile data
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | diagnose_if.cpp | 352 constexpr bool bad() const { return i; } in bad() function 359 …constexpr T getVal2() const _diagnose_if(bad(), "oh no", "error") { // expected-note{{from 'diagno… in getVal2() 364 …constexpr operator T() const _diagnose_if(bad(), "oh no", "error") { // expected-note{{from 'diagn… in operator T() 389 constexpr bool bad() const { return i; } in bad() function 390 …const Bar *operator->() const _diagnose_if(bad(), "oh no", "error") { // expected-note{{from 'diag… in operator ->() 393 …void operator()() const _diagnose_if(bad(), "oh no", "error") {} // expected-note{{from 'diagnose_… in operator ()() 399 constexpr bool bad() const { return i; } in bad() function 400 …void operator()(double) const _diagnose_if(bad(), "oh no", "error") {} // expected-note{{from 'dia… in operator ()() 401 …void operator()(int) const _diagnose_if(bad(), "oh no", "error") {} // expected-note{{from 'diagno… in operator ()() 407 constexpr bool bad() const { return i; } in bad() function [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/ |
| H A D | streambuf.pass.cpp | 85 assert(!is.bad()); in main() 102 assert(!is.bad()); in main() 120 assert(!is.bad()); in main() 137 assert(!is.bad()); in main() 154 assert(!is.bad()); in main() 170 assert(!is.bad()); in main()
|
| /llvm-project-15.0.7/clang/test/CXX/dcl.decl/dcl.init/dcl.init.list/ |
| H A D | p3.cpp | 206 template<typename T> void bad() { in bad() function 261 bad<A>(); // expected-note 4{{instantiation of}} in test() 262 bad<B>(); // expected-note 4{{instantiation of}} in test() 263 bad<C>(); // expected-note 4{{instantiation of}} in test() 264 bad<D>(); // expected-note 4{{instantiation of}} in test() 265 bad<E>(); // expected-note 4{{instantiation of}} in test()
|
| /llvm-project-15.0.7/clang/test/Modules/Inputs/exclude-header/ |
| H A D | module.map | 1 module x { umbrella "x" exclude header "x/bad.h" module * {} } 3 module bad { header "x/bad.h" }
|
| /llvm-project-15.0.7/compiler-rt/test/asan/TestCases/Posix/ |
| H A D | halt_on_error-signals.c | 26 volatile char bad[2] = {1, }; variable 32 bad[idx] = 0; in error() 87 __asan_poison_memory_region(&bad, sizeof(bad)); in main()
|
| /llvm-project-15.0.7/llvm/test/Transforms/NewGVN/ |
| H A D | pr31472.ll | 12 ; CHECK-NEXT: to label %good unwind label %bad 15 ; CHECK: bad: 19 to label %good unwind label %bad 26 bad:
|
| /llvm-project-15.0.7/clang/test/Modules/ |
| H A D | explicit-build-flags.cpp | 52 #error bad FOO from command line and module 56 #error bad FOO from command line overriding module 63 #error bad BAR
|
| /llvm-project-15.0.7/llvm/test/CodeGen/X86/ |
| H A D | test-nofold.ll | 13 ; movl %eax, %ecx # bad: extra copy 15 ; testl $15, %eax # bad: peep obstructed 21 ; movl $15, %ecx # bad: larger encoding 30 ; testl %ecx, %ecx # bad: unnecessary test
|