| /llvm-project-15.0.7/clang/test/Sema/ |
| H A D | complete-incomplete-pointer-relational-c99.c | 4 int incomplete[]; // expected-warning {{tentative array definition assumed to have one element}} variable 8 …return (&incomplete < &complete) && // expected-warning {{pointer comparisons before C11 need to … in test_comparison_between_incomplete_and_complete_pointer() 9 …(&incomplete <= &complete) && // expected-warning {{pointer comparisons before C11 need to be betw… in test_comparison_between_incomplete_and_complete_pointer() 10 …(&incomplete > &complete) && // expected-warning {{pointer comparisons before C11 need to be betw… in test_comparison_between_incomplete_and_complete_pointer() 11 …(&incomplete >= &complete) && // expected-warning {{pointer comparisons before C11 need to be betw… in test_comparison_between_incomplete_and_complete_pointer() 12 (&incomplete == &complete) && in test_comparison_between_incomplete_and_complete_pointer() 13 (&incomplete != &complete); in test_comparison_between_incomplete_and_complete_pointer()
|
| H A D | offsetof.c | 53 struct incomplete; // expected-note 2 {{forward declaration of 'struct incomplete'}} 54 int test1[__builtin_offsetof(struct incomplete, foo)]; // expected-error {{offsetof of incomplete t… 56 int test2[__builtin_offsetof(struct incomplete[10], [4].foo)]; // expected-error {{array has incomp…
|
| H A D | memset-invalid-1.c | 7 typedef struct __incomplete *incomplete; typedef 11 incomplete query = 0; in mt_query_for_domain()
|
| H A D | typecheck-binop.c | 3 struct incomplete; // expected-note{{forward declaration of 'struct incomplete'}} 9 void *sub2(struct incomplete *P) { in sub2()
|
| H A D | conditional-expr.c | 69 int (*incomplete)[]; in foo() local 71 sizeof(*(test0 ? incomplete : complete)); // expected-warning {{expression result unused}} in foo() 72 sizeof(*(test0 ? complete : incomplete)); // expected-warning {{expression result unused}} in foo()
|
| /llvm-project-15.0.7/clang/test/Modules/ |
| H A D | Werror.m | 7 // RUN: -F %S/Inputs -fsyntax-only %s -verify -Wno-incomplete-umbrella \ 13 // RUN: -F %S/Inputs -fsyntax-only %s -verify -Wno-incomplete-umbrella 18 // RUN: -F %S/Inputs -fsyntax-only %s -verify -Wno-incomplete-umbrella \ 19 // RUN: -Werror -Wno-incomplete-umbrella 25 // RUN: -F %S/Inputs -fsyntax-only %s -verify -Wno-incomplete-umbrella \ 26 // RUN: -Werror=header-guard -Wno-incomplete-umbrella 31 // RUN: -F %S/Inputs -fsyntax-only %s -verify -Wno-incomplete-umbrella \ 37 // RUN: -F %S/Inputs -fsyntax-only %s -verify -Wno-incomplete-umbrella \ 38 // RUN: -Werror -Wno-incomplete-umbrella 46 // RUN: -F %S/Inputs -fsyntax-only %s -verify -Wno-incomplete-umbrella \ [all …]
|
| H A D | incomplete-framework-module.m | 3 // RUN: -F%S/Inputs/incomplete-framework-module \ 8 // expected-warning@Inputs/incomplete-framework-module/Foo.framework/Modules/module.modulemap:2{{sk… 9 // expected-warning@Inputs/incomplete-framework-module/Foo.framework/Modules/module.modulemap:3{{sk… 10 // expected-note@Inputs/incomplete-framework-module/Foo.framework/Modules/module.modulemap:1{{use '… 11 // expected-note@Inputs/incomplete-framework-module/Foo.framework/Modules/module.modulemap:1{{use '…
|
| H A D | incomplete-umbrella.m | 2 …1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -F%S/Inputs/incomplete-umbrella -fsynta… 9 // CHECK: While building module 'Foo' imported from {{.*[/\]}}incomplete-umbrella.m:4: 12 // CHECK: While building module 'Foo' imported from {{.*[/\]}}incomplete-umbrella.m:4:
|
| H A D | on-demand-build.m | 2 …cit-module-maps -fno-objc-infer-related-result-type -Werror -Wno-error=incomplete-umbrella -fmodul… 3 …cit-module-maps -fno-objc-infer-related-result-type -Werror -Wno-error=incomplete-umbrella -x obje… 4 …cit-module-maps -fno-objc-infer-related-result-type -Werror -Wno-error=incomplete-umbrella -fmodul…
|
| /llvm-project-15.0.7/clang/test/CXX/expr/expr.const/ |
| H A D | p5-0x.cpp | 26 extern struct Incomplete incomplete; // expected-note 5{{forward decl}} 48 auto new2 = new int[1][incomplete]; // expected-error {{incomplete}} 56 enum2 = incomplete, // expected-error {{incomplete}} 65 alignas(incomplete) int alignas2; // expected-error {{incomplete}} 72 int array2[incomplete]; // expected-error {{incomplete}} 80 int bitfield2 : incomplete; // expected-error {{incomplete}}
|
| /llvm-project-15.0.7/lldb/test/API/functionalities/target_var/ |
| H A D | main.c | 4 struct incomplete; 5 struct incomplete *var = (struct incomplete *)0xdead;
|
| /llvm-project-15.0.7/clang/test/OpenMP/ |
| H A D | parallel_reduction_messages.c | 3 int incomplete[]; variable 19 #pragma omp parallel reduction(+ : incomplete, ([10])p) // expected-error {{a reduction list item w… in test() 24 int incomplete[3]; variable
|
| /llvm-project-15.0.7/lldb/test/API/lang/objc/complete-type-check/ |
| H A D | TestObjCIsTypeComplete.py | 17 incomplete = self.expect_expr("incomplete", result_type="IncompleteClass *") 18 self.assertTrue(incomplete.IsValid()) 19 incomplete_class = incomplete.GetType().GetPointeeType()
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | out-of-bounds.c | 160 extern struct incomplete incomplete; in test_incomplete_struct() 161 int *p = (int *)&incomplete; in test_incomplete_struct()
|
| /llvm-project-15.0.7/clang/test/SemaObjCXX/ |
| H A D | contextual-convert-to-id.mm | 36 void methodCallToIncomplete(Incomplete &incomplete) { 37 [incomplete knownMethod]; // expected-error{{incomplete receiver type 'Incomplete'}}
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | vla.cpp | 12 struct incomplete; // expected-note {{forward declaration}} 17 incomplete c[n]; // expected-error {{incomplete}} in f()
|
| H A D | qualified-names-diag.cpp | 19 struct incomplete; // expected-note{{forward declaration of 'bar::incomplete'}} 29 …(void)sizeof(bar::incomplete); // expected-error{{invalid application of 'sizeof' to an incomplete… in test()
|
| H A D | constexpr-string.cpp | 135 extern struct Incomplete incomplete; 136 static_assert(__builtin_memcmp(&incomplete, "", 0u) == 0); 137 static_assert(__builtin_memcmp("", &incomplete, 0u) == 0); 138 …static_assert(__builtin_memcmp(&incomplete, "", 1u) == 42); // expected-error {{not an integral co… 139 …static_assert(__builtin_memcmp("", &incomplete, 1u) == 42); // expected-error {{not an integral co… 141 static_assert(__builtin_bcmp(&incomplete, "", 0u) == 0); 142 static_assert(__builtin_bcmp("", &incomplete, 0u) == 0); 143 …static_assert(__builtin_bcmp(&incomplete, "", 1u) == 42); // expected-error {{not an integral cons… 144 …static_assert(__builtin_bcmp("", &incomplete, 1u) == 42); // expected-error {{not an integral cons… 404 extern struct Incomplete incomplete; [all …]
|
| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | attr-loader-uninitialized.cpp | 40 struct incomplete; 41 templ<incomplete> templ_incomplete [[clang::loader_uninitialized]];
|
| H A D | debug-info.cpp | 135 struct incomplete; 136 incomplete (*x)[3];
|
| /llvm-project-15.0.7/llvm/test/tools/obj2yaml/ELF/ |
| H A D | linker-options.yaml | 45 # CORRUPT-NEXT: - Name: .linker-options-incomplete 64 ## (Hence it contains an incomplete key-value pair). 65 - Name: .linker-options-incomplete
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-readobj/ELF/ |
| H A D | linker-options.test | 10 …: '[[FILE]]': SHT_LLVM_LINKER_OPTIONS section at index 2 is broken: an incomplete key-value pair w… 31 ## when it contains an incomplete key-value pair. 32 - Name: .linker-options.incomplete
|
| /llvm-project-15.0.7/llvm/test/Transforms/LoopStrengthReduce/Power/ |
| H A D | incomplete-phi.ll | 16 ; Make sure two incomplete phis will not be marked as congruent. 18 ; CHECK: One incomplete PHI is found: %[[IV:.*]] = phi [0 x %0]* 19 ; CHECK: One incomplete PHI is found: %[[IV2:.*]] = phi [0 x %0]*
|
| /llvm-project-15.0.7/clang/test/CXX/expr/expr.prim/expr.prim.req/ |
| H A D | type-requirement.cpp | 128 template<typename T> struct I { struct incomplete; }; // expected-note{{member is declared here}} 130 static_assert(!requires { I<int>::incomplete::inner; }); // expected-error{{implicit instantiation … 132 template<typename T> requires requires { typename I<T>::incomplete::inner; } // expected-note{{beca…
|
| /llvm-project-15.0.7/clang/test/SemaObjC/ |
| H A D | exprs.m | 40 (void)@encode(Incomplete_ObjC_class); // expected-error {{incomplete type}} 41 (void)@encode(struct Incomplete_struct); // expected-error {{incomplete type}}
|