Home
last modified time | relevance | path

Searched refs:available (Results 1 – 25 of 974) sorted by relevance

12345678910>>...39

/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dunguarded-availability.m22 if (@available(macos 10.11, *))
35 if (@available(macos 10.12, *)) {
47 if (@available(ios 9, *)) {
53 if (@available(macOS 10.11, *)) {
54 if (@available(ios 8, *)) {
129 if (@available(macos 10.12, *))
144 if (@available(macos 10.12, *))
169 …if (@available(macOS 10.12, *) || 0) // expected-warning {{@available does not guard availability …
175 …int availability = @available(macOS 10.12, *); // expected-warning {{@available does not guard ava…
192 if (@available(macos 10.12, *))
[all …]
H A Dunguarded-availability-maccatalyst.m32 // expected-warning@-2 {{'Record' is only available on macCatalyst 14.1 or newer}}
44 // expected-warning@-2 {{'willBeAvailabile' is only available on macCatalyst 14.1 or newer}}
45 // expected-note@-3 {{enclose 'willBeAvailabile' in an @available check to silence this warning}}
47 if (@available(maccatalyst 14.1, *))
49 if (@available(ios 14.1, *))
51 if (@available(macCatalyst 14.1, *))
67 // expected-warning@-2 {{'willBeAvailabileIOS' is only available on macCatalyst 14.1 or newer}}
68 …// expected-note@-3 {{enclose 'willBeAvailabileIOS' in an @available check to silence this warning…
70 if (@available(macCatalyst 14.1, *))
72 if (@available(ios 14.1, *))
[all …]
H A Dunguarded-availability-new.m116 // expected-warning@-3 {{'previouslyAvailable' is only available on macOS 10.12 or newer}}
123 // expected-warning@-3 {{'currentlyAvailable' is only available on macOS 10.13 or newer}}
126 // expected-warning@-6 {{'currentlyAvailable' is only available on iOS 11 or newer}}
129 // expected-warning@-9 {{'currentlyAvailable' is only available on tvOS 11 or newer}}
132 // expected-warning@-12 {{'currentlyAvailable' is only available on watchOS 4 or newer}}
139 // expected-warning@-3 {{'willBeAvailabile' is only available on macOS 10.14 or newer}}
142 // expected-warning@-6 {{'willBeAvailabile' is only available on iOS 12 or newer}}
145 // expected-warning@-9 {{'willBeAvailabile' is only available on tvOS 13 or newer}}
148 // expected-warning@-12 {{'willBeAvailabile' is only available on watchOS 5 or newer}}
150 // expected-note@-14 {{enclose 'willBeAvailabile' in an @available check to silence this warning}}
[all …]
H A Dattr-availability.m49 …+2 {{'partialMethod' is only available on macOS 10.8 or newer}} expected-note@+2 {{enclose 'partia…
70 …xpected-warning@+2{{'partialMethod' is only available on macOS 10.8 or newer}} expected-note@+2 {{…
171 …xpected-warning@+2 {{'partialMethod' is only available on macOS 10.8 or newer}} expected-note@+2{{…
176 …{{'ipartialMethod2' is only available on macOS 10.8 or newer}} expected-note@+2 {{enclose 'ipartia…
181 …pected-warning@+2 {{'partialMethod' is only available on macOS 10.8 or newer}} expected-note@+2 {{…
186 …{{'ipartialMethod2' is only available on macOS 10.8 or newer}} expected-note@+2 {{enclose 'ipartia…
215 #define UNAVAILABLE __attribute__((unavailable("not available")))
223 // expected-error@+2 {{'MyEnum' is unavailable: not available}}
224 // expected-error@+1 {{MyEnum_Blah' is unavailable: not available}}
327 …d)method1 { fn_10_7(); } // expected-warning{{only available on macOS 10.7}} expected-note{{@avail…
[all …]
H A Dproperty-deprecated-warning.m61 …available on iOS 5.0 or newer}} expected-warning@+2 {{'setPartial_dep_target:' is only available o…
86 …{'setPartialTarget:' is only available on iOS 5.0 or newer}} expected-note@+2 {{enclose 'setPartia…
90 …available on iOS 5.0 or newer}} expected-warning@+2 {{'setPartial_dep_target:' is only available o…
119 …available on iOS 5.0 or newer}} expected-warning@+3 {{'partialSetNewDelegate:' is only available o…
142 …+2 {{'partialPtarget' is only available on iOS 5.0 or newer}} expected-note@+2 {{enclose 'partialP…
H A Dclass-unavail-warning.m4 __attribute__((unavailable("not available")))
35 [MyClass new]; // expected-error {{'MyClass' is unavailable: not available}}
36 [MyClass self]; // expected-error {{'MyClass' is unavailable: not available}}
37 [MyClass addObject:((void *)0)]; // expected-error {{'MyClass' is unavailable: not available}}
39 MyClass *foo = [MyClass new]; // expected-error 2 {{'MyClass' is unavailable: not available}}
71 #define UNAVAILABLE __attribute__((unavailable("not available")))
122 …lable_int global_unavailable; // expected-error {{'unavailable_int' is unavailable: not available}}
H A Doverride-opt-prop-availability.m33 …warning {{method cannot be unavailable on iOS when the protocol method it implements is available}}
39 …int i = x.myProp; // expected-warning {{'myProp' is only available on iOS 13.0 or newer}} expect…
40 …x.myProp = i; // expected-warning {{'setMyProp:' is only available on iOS 13.0 or newer}} ex…
46 …int i = x.myProp; // expected-warning {{'myProp' is only available on iOS 12.0 or newer}} expected…
/llvm-project-15.0.7/cross-project-tests/debuginfo-tests/dexter/
H A DREADME.md163 step 7 (Variable is optimized away and not available.)
164 step 8 (Variable is optimized away and not available.)
165 step 11 (Variable is optimized away and not available.)
166 step 14 (Variable is optimized away and not available.)
167 step 17 (Variable is optimized away and not available.)
168 step 20 (Variable is optimized away and not available.)
169 step 23 (Variable is optimized away and not available.)
178 step 12 (Variable is optimized away and not available.)
179 step 14 (Variable is optimized away and not available.)
246 step 7 (Variable is optimized away and not available.)
[all …]
/llvm-project-15.0.7/llvm/test/MC/Mips/
H A Dbranch-pseudos-bad.s7 # CHECK: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available
9 # CHECK: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available
11 # CHECK: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available
13 # CHECK: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available
15 # CHECK: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available
17 # CHECK: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available
19 # CHECK: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available
21 # CHECK: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available
24 # CHECK: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available
26 # CHECK: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available
[all …]
H A Dcprestore-noreorder-noat.s28 # O32-NOT: error: pseudo-instruction requires $at, which is not available
29 # N32-NOT: error: pseudo-instruction requires $at, which is not available
30 # N64-NOT: error: pseudo-instruction requires $at, which is not available
47 # O32: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available
48 # N32-NOT: error: pseudo-instruction requires $at, which is not available
49 # N64-NOT: error: pseudo-instruction requires $at, which is not available
/llvm-project-15.0.7/clang/test/Parser/
H A Dobjc-available.m5 if (@available(macos 10.12, *)) {}
6 else if (@available(macos 10.11, *)) {}
11 …(void)@available(macos 10.11); // expected-error{{must handle potential future platforms with '*'}}
12 …(void)@available(macos 10.11, macos 10.11, *); // expected-error{{version for 'macos' already spec…
14 (void)@available(erik_os 10.11, *); // expected-error{{unrecognized platform name erik_os}}
16 (void)@available(erik_os 10.10, hat_os 1.0, *); // expected-error 2 {{unrecognized platform name}}
18 (void)@available(); // expected-error{{expected a platform name here}}
19 (void)@available(macos 10.10,); // expected-error{{expected a platform name here}}
20 (void)@available(macos); // expected-error{{expected a version}}
21 (void)@available; // expected-error{{expected '('}}
[all …]
/llvm-project-15.0.7/clang/test/FixIt/
H A Dfixit-availability.mm10 // CHECK: fix-it:{{.*}}:{[[@LINE-1]]:3-[[@LINE-1]]:3}:"if (@available(macOS 10.12, *)) {\n "
13 // CHECK: fix-it:{{.*}}:{[[@LINE-1]]:3-[[@LINE-1]]:3}:"if (@available(macOS 10.12, *)) {\n "
16 // CHECK: fix-it:{{.*}}:{[[@LINE-1]]:3-[[@LINE-1]]:3}:"if (@available(macOS 10.12, *)) {\n "
20 // CHECK: fix-it:{{.*}}:{[[@LINE-1]]:5-[[@LINE-1]]:5}:"if (@available(macOS 10.12, *)) {\n "
24 // CHECK: fix-it:{{.*}}:{[[@LINE-1]]:3-[[@LINE-1]]:3}:"if (@available(macOS 10.12, *)) {\n "
27 // CHECK: fix-it:{{.*}}:{[[@LINE-1]]:3-[[@LINE-1]]:3}:"if (@available(macOS 10.12, *)) {\n "
36 // CHECK: fix-it:{{.*}}:{[[@LINE-1]]:5-[[@LINE-1]]:5}:"if (@available(macOS 10.12, *)) {\n "
61 // CHECK: fix-it:{{.*}}:{[[@LINE-1]]:3-[[@LINE-1]]:3}:"if (@available(macOS 10.12, *)) {\n "
75 // CHECK: fix-it:{{.*}}:{[[@LINE-1]]:3-[[@LINE-1]]:3}:"if (@available(macOS 10.12, *)) {\n "
79 // CHECK: fix-it:{{.*}}:{[[@LINE-1]]:3-[[@LINE-1]]:3}:"if (@available(macOS 10.12, *)) {\n "
[all …]
/llvm-project-15.0.7/clang/test/Modules/
H A Dsubmodules-preprocess.cpp8 # error HAVE_VECTOR macro is not available (but should be)
12 # error HAVE_TYPE_TRAITS_MAP macro is available (but shouldn't be)
22 # error HAVE_VECTOR macro is not available (but should be)
26 # error HAVE_TYPE_TRAITS_MAP macro is not available (but should be)
30 # error HAVE_HASH_MAP macro is available (but shouldn't be)
52 # error HAVE_VECTOR macro is not available (but should be)
56 # error HAVE_TYPE_TRAITS_MAP macro is not available (but should be)
60 # error HAVE_HASH_MAP macro is not available (but should be)
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dinline-asm-avx-v-constraint-32bit.ll4 ; CHECK: error: inline assembly requires more registers than available
11 ; CHECK: error: inline assembly requires more registers than available
18 ; CHECK: error: inline assembly requires more registers than available
25 ; CHECK: error: inline assembly requires more registers than available
32 ; CHECK: error: inline assembly requires more registers than available
39 ; CHECK: error: inline assembly requires more registers than available
46 ; CHECK: error: inline assembly requires more registers than available
53 ; CHECK: error: inline assembly requires more registers than available
60 ; CHECK: error: inline assembly requires more registers than available
67 ; CHECK: error: inline assembly requires more registers than available
[all …]
H A Dinline-asm-avx512vl-v-constraint-32bit.ll4 ; CHECK: error: inline assembly requires more registers than available
12 ; CHECK: error: inline assembly requires more registers than available
20 ; CHECK: error: inline assembly requires more registers than available
28 ; CHECK: error: inline assembly requires more registers than available
36 ; CHECK: error: inline assembly requires more registers than available
44 ; CHECK: error: inline assembly requires more registers than available
52 ; CHECK: error: inline assembly requires more registers than available
60 ; CHECK: error: inline assembly requires more registers than available
68 ; CHECK: error: inline assembly requires more registers than available
76 ; CHECK: error: inline assembly requires more registers than available
[all …]
H A Dclwb.ll2 ; NOTE: clwb is available in Skylake Server, not available in the newer
3 ; NOTE: Cannon Lake arch, but available again in the newer Ice Lake arch.
/llvm-project-15.0.7/llvm/include/llvm/Config/
H A Dllvm-config.h.cmake33 /* LLVM architecture name for the native architecture, if available */
36 /* LLVM name for the native AsmParser init function, if available */
39 /* LLVM name for the native AsmPrinter init function, if available */
42 /* LLVM name for the native Disassembler init function, if available */
45 /* LLVM name for the native Target init function, if available */
48 /* LLVM name for the native TargetInfo init function, if available */
51 /* LLVM name for the native target MC init function, if available */
54 /* LLVM name for the native target MCA init function, if available */
95 /* Define if zlib compression is available */
98 /* Define if zstd compression is available */
/llvm-project-15.0.7/utils/bazel/llvm_configs/
H A Dllvm-config.h.cmake33 /* LLVM architecture name for the native architecture, if available */
36 /* LLVM name for the native AsmParser init function, if available */
39 /* LLVM name for the native AsmPrinter init function, if available */
42 /* LLVM name for the native Disassembler init function, if available */
45 /* LLVM name for the native Target init function, if available */
48 /* LLVM name for the native TargetInfo init function, if available */
51 /* LLVM name for the native target MC init function, if available */
54 /* LLVM name for the native target MCA init function, if available */
95 /* Define if zlib compression is available */
98 /* Define if zstd compression is available */
/llvm-project-15.0.7/clang/test/Modules/Inputs/available-is-better/
H A Dmodule.modulemap7 header "available-is-better.h"
10 module available {
11 header "available-is-better.h"
16 header "available-is-better.h"
/llvm-project-15.0.7/clang/test/Analysis/
H A Dsecurity-syntax-checks-nscoder.m1 // RUN: %clang_analyze_cc1 -triple thumbv7-apple-ios11.0 -verify=available \
5 // RUN: %clang_analyze_cc1 -triple x86_64-apple-macos10.13 -verify=available \
9 // RUN: %clang_analyze_cc1 -triple thumbv7-apple-watchos4.0 -verify=available \
13 // RUN: %clang_analyze_cc1 -triple thumbv7-apple-tvos11.0 -verify=available \
34 …[decoder decodeValueOfObjCType:"I" at:&x]; // available-warning{{Deprecated method '-decodeValueOf…
/llvm-project-15.0.7/clang/docs/
H A DItaniumMangleAbiTags.rst56 "required tags" which are not in the "available tags" set:
60 derived-tags := (required-tags - available-tags)
96 available. Also, for functions, all tags from the <bare-function-type>
97 (which might include the return type for template functions) are available.
100 encoding>) are available, but not implicit tags which were not active.
103 in the type of a cast operator) are NOT available.
107 required from the return type `std::string` but not available.
/llvm-project-15.0.7/third-party/benchmark/docs/
H A Ddependencies.md4 still allow forward progress, we require any build tooling to be available for:
9 Currently, this means using build tool versions that are available for Ubuntu
18 _Note, this version is also available for Ubuntu 14.04, an older Ubuntu LTS
/llvm-project-15.0.7/clang/test/Sema/
H A Davailability-guard-format.mm11 // expected-warning {{'method_bar' is only available on macOS 10.12 or newer}} \
12 // expected-note {{enclose 'method_bar' in an @available check to silence this warning}} \
13 // CHECK: "fix-it:.*if (@available(macOS 10.12, *))"
/llvm-project-15.0.7/openmp/libomptarget/plugins/amdgpu/impl/
H A Dmsgpack.h129 const uint64_t available = end - start; in handle_msgpack_given_type() local
130 assert(available != 0); in handle_msgpack_given_type()
134 if (available < bytes_used) { in handle_msgpack_given_type()
137 const uint64_t available_post_header = available - bytes_used; in handle_msgpack_given_type()
220 const uint64_t available = end - start; in handle_msgpack() local
221 if (available == 0) { in handle_msgpack()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DExecutionDomainFix.cpp285 unsigned available = mask; in visitSoftInstr() local
301 unsigned common = dv->getCommonDomains(available); in visitSoftInstr()
308 available = common; in visitSoftInstr()
320 if (isPowerOf2_32(available)) { in visitSoftInstr()
321 unsigned domain = countTrailingZeros(available); in visitSoftInstr()
334 if (!LR->getCommonDomains(available)) { in visitSoftInstr()
354 dv->AvailableDomains = dv->getCommonDomains(available); in visitSoftInstr()
377 dv->AvailableDomains = available; in visitSoftInstr()

12345678910>>...39