Home
last modified time | relevance | path

Searched refs:incomplete (Results 1 – 25 of 137) sorted by relevance

123456

/llvm-project-15.0.7/clang/test/Sema/
H A Dcomplete-incomplete-pointer-relational-c99.c4 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 Doffsetof.c53 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 Dmemset-invalid-1.c7 typedef struct __incomplete *incomplete; typedef
11 incomplete query = 0; in mt_query_for_domain()
H A Dtypecheck-binop.c3 struct incomplete; // expected-note{{forward declaration of 'struct incomplete'}}
9 void *sub2(struct incomplete *P) { in sub2()
H A Dconditional-expr.c69 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 DWerror.m7 // 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 Dincomplete-framework-module.m3 // 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 Dincomplete-umbrella.m2 …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 Don-demand-build.m2 …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 Dp5-0x.cpp26 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 Dmain.c4 struct incomplete;
5 struct incomplete *var = (struct incomplete *)0xdead;
/llvm-project-15.0.7/clang/test/OpenMP/
H A Dparallel_reduction_messages.c3 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 DTestObjCIsTypeComplete.py17 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 Dout-of-bounds.c160 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 Dcontextual-convert-to-id.mm36 void methodCallToIncomplete(Incomplete &incomplete) {
37 [incomplete knownMethod]; // expected-error{{incomplete receiver type 'Incomplete'}}
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dvla.cpp12 struct incomplete; // expected-note {{forward declaration}}
17 incomplete c[n]; // expected-error {{incomplete}} in f()
H A Dqualified-names-diag.cpp19 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 Dconstexpr-string.cpp135 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 Dattr-loader-uninitialized.cpp40 struct incomplete;
41 templ<incomplete> templ_incomplete [[clang::loader_uninitialized]];
H A Ddebug-info.cpp135 struct incomplete;
136 incomplete (*x)[3];
/llvm-project-15.0.7/llvm/test/tools/obj2yaml/ELF/
H A Dlinker-options.yaml45 # 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 Dlinker-options.test10 …: '[[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 Dincomplete-phi.ll16 ; 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 Dtype-requirement.cpp128 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 Dexprs.m40 (void)@encode(Incomplete_ObjC_class); // expected-error {{incomplete type}}
41 (void)@encode(struct Incomplete_struct); // expected-error {{incomplete type}}

123456