Home
last modified time | relevance | path

Searched refs:INTS (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/clang/test/Sema/
H A Dnullability.c226 typedef int INTS[4]; typedef
229 void typedefTest(INTS _Nonnull x,
230 _Nonnull INTS xx,
231 …INTS _Nonnull y[2], // expected-error {{nullability specifier '_Nonnull' cannot be applied to non-…
232 INTS z[_Nonnull 2]);
234 INTS _Nonnull x; // expected-error {{nullability specifier '_Nonnull' cannot be applied to non-poin…
235 _Nonnull INTS x; // expected-error {{nullability specifier '_Nonnull' cannot be applied to non-poin…
238 typedef int INTS[4]; in arraysInBlocks() typedef
246 void (^withTypedef)(INTS _Nonnull) = ^(INTS _Nonnull x) {}; in arraysInBlocks()
248 …void (^withTypedefBad)(INTS _Nonnull [2]) = // expected-error {{nullability specifier '_Nonnull' c… in arraysInBlocks()
[all …]
/llvm-project-15.0.7/clang/test/SemaObjCXX/Inputs/
H A Dnullability-consistency-arrays.h90 typedef int INTS[4];
93 INTS x,
99 INTS _Nonnull x2,
100 _Nonnull INTS x3,
101 INTS y[2],
107 INTS y2[_Nonnull 2]);
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dnullability.cpp124 typedef int INTS[4]; in arraysInLambdas() typedef
131 auto withTypedef = [](INTS _Nonnull) {}; in arraysInLambdas()
133 …auto withTypedefBad = [](INTS _Nonnull[2]) {}; // expected-error {{nullability specifier '_Nonnull… in arraysInLambdas()
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dnullability.m273 typedef int INTS[4]; typedef
279 - (void)withTypedef:(INTS _Nonnull)x;
280 …id)withTypedefBad:(INTS _Nonnull[2])x; // expected-error{{nullability specifier '_Nonnull' cannot …
284 - (void)sugarWithTypedef:(nonnull INTS)x; argument