/llvm-project/libcxx/test/std/ranges/range.adaptors/range.take/ |
H A D | adaptor.pass.cpp | 11 // std::views::take 41 auto result = input | std::views::take(N); in test_small_range() 50 // Test that `std::views::take` is a range adaptor. in test() 54 // Test `view | views::take` in test() 57 … std::same_as<std::ranges::take_view<SomeView>> decltype(auto) result = view | std::views::take(3); in test() 63 // Test `adaptor | views::take` in test() 67 auto const partial = std::views::transform(f) | std::views::take(3); in test() 76 // Test `views::take | adaptor` in test() 80 auto const partial = std::views::take(3) | std::views::transform(f); in test() 92 static_assert(!std::is_invocable_v<decltype(std::views::take)>); in test() [all …]
|
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/ |
H A D | narrowing-conversions-bitfields.cpp |
|
/llvm-project/clang/test/SemaCXX/ |
H A D | pass-object-size.cpp | 23 …int (*A)(void *) = &Foo; //expected-error{{cannot take address of function 'Foo' because parameter… in Decls() 24 …int (*B)(void *) = Foo; //expected-error{{cannot take address of function 'Foo' because parameter … in Decls() 29 …int (*E)(void *) = &Statics::Foo; //expected-error{{cannot take address of function 'Foo' because … in Decls() 32 …int (*G)(void *) = &Members::Foo; //expected-error{{cannot take address of function 'Foo' because … in Decls() 38 …A = &Foo; //expected-error{{cannot take address of function 'Foo' because parameter 1 has pass_obj… in Assigns() 39 …A = Foo; //expected-error{{cannot take address of function 'Foo' because parameter 1 has pass_obje… in Assigns() 44 …A = &Statics::Foo; //expected-error{{cannot take address of function 'Foo' because parameter 1 has… in Assigns() 48 …M = &Members::Foo; //expected-error{{cannot take address of function 'Foo' because parameter 1 has… in Assigns() 98 …TakeFn(ObjSize); //expected-error{{cannot take address of function 'ObjSize' because parameter 2 h… in Check() 99 …TakeFn(&ObjSize); //expected-error{{cannot take address of function 'ObjSize' because parameter 2 … in Check() [all …]
|
H A D | complex-conversion.cpp | 3 template<typename T> void take(T); 12 …take<float>(Complex); // expected-error {{implicit conversion from '_Complex float' to 'float' is … in func() 13 …take<double>(1.0i); // expected-error {{implicit conversion from '_Complex double' to 'double' is … in func() 14 take<_Complex float>(Complex); in func() 17 take<bool>(Complex); in func()
|
H A D | ptrauth-incomplete-virtual-member-function-return-arg-type.cpp | 25 (void)&S::virtual0; // expected-error {{incomplete type 'Incomplete0'}} expected-note {{cannot take an address of a virtual}} in m0() 38 (void)&S2<T>::virtual0; // expected-error {{incomplete type 'Incomplete0'}} expected-note {{cannot take an address of a virtual}} in m1() 43 (void)&S::virtual0; // expected-error {{incomplete type 'Incomplete0}} expected-note {{cannot take an address of a virtual member function}} in test_incomplete_virtual_member_function_return_arg_type() 44 (void)&S::virtual1; // expected-error {{implicit instantiation of undefined template 'Incomplete1<int>'}} expected-note {{cannot take an address of a virtual member function}} in test_incomplete_virtual_member_function_return_arg_type()
|
/llvm-project/clang/test/Sema/ |
H A D | block-args.c | 3 void take(void*); 6 take(^(int x){}); in test() 7 take(^(int x, int y){}); in test() 8 take(^(int x, int y){}); in test() 9 take(^(int x, // expected-note {{previous declaration is here}} in test() 13 take(^(int x) { return x+1; }); in test() 16 take(CP); in test()
|
H A D | pass-object-size.c | 44 …void (*p)(void *) = NotOverloaded; //expected-error{{cannot take address of function 'NotOverloade… in FunctionPtrs() 45 …void (*p2)(void *) = &NotOverloaded; //expected-error{{cannot take address of function 'NotOverloa… in FunctionPtrs() 53 …TakeFn(NotOverloaded); //expected-error{{cannot take address of function 'NotOverloaded' because p… in FunctionPtrs() 54 …TakeFn(&NotOverloaded); //expected-error{{cannot take address of function 'NotOverloaded' because … in FunctionPtrs() 56 …TakeFnOvl(NotOverloaded); //expected-error{{cannot take address of function 'NotOverloaded' becaus… in FunctionPtrs() 57 …TakeFnOvl(&NotOverloaded); //expected-error{{cannot take address of function 'NotOverloaded' becau… in FunctionPtrs() 60 …(&NotOverloaded)(&P); //expected-error{{cannot take address of function 'NotOverloaded' because pa… in FunctionPtrs()
|
/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCScheduleP10.td | 83 // A BF pipeline may take from 7 to 36 cycles to complete. 114 // A BR pipeline may take 2 cycles to complete. 119 // A CY pipeline may take 7 cycles to complete. 124 // A DF pipeline may take from 13 to 174 cycles to complete. 210 // A DV pipeline may take from 20 to 83 cycles to complete. 262 // A DX pipeline may take 5 cycles to complete. 267 // A F2 pipeline may take 4 cycles to complete. 272 // A FX pipeline may take from 2 to 3 cycles to complete. 281 // A LD pipeline may take 6 cycles to complete. 286 // A MF pipeline may take 13 cycles to complete. [all …]
|
/llvm-project/clang/test/FixIt/ |
H A D | fixit-function-call.cpp | 46 // CHECK: take the address of the argument with & in mcaller() 48 // CHECK: take the address of the argument with & in mcaller() 112 …not viable: no known conversion from 'C' to 'const C *' for 1st argument; take the address of the … in dbcaller() 122 // CHECK-NOT: take the address of the argument with & in issue58958() 125 // CHECK-NOT: take the address of the argument with & in issue58958() 128 // CHECK-NOT: take the address of the argument with & in issue58958() 132 // CHECK: take the address of the argument with & in issue58958() 135 // CHECK-NOT: take the address of the argument with & in issue58958()
|
/llvm-project/clang/test/CodeGenCXX/ |
H A D | builtin-std-move.cpp | 15 extern "C" void take(T &&); 35 // CHECK: call void @take(ptr {{.*}} %0) in test() 36 take(std::move(t)); in test() 38 // CHECK: call void @take(ptr {{.*}} %1) in test() 39 take(std::move_if_noexcept(t)); in test() 41 // CHECK: call void @take(ptr {{.*}} %2) in test() 42 take(std::forward<T&&>(t)); in test()
|
H A D | pass-by-value-noalias.cpp | 19 void take(Foo arg) {} in take() function 43 void take(NonTrivial arg) {} in take() function 45 // Escape examples. Pointers to the objects passed to take() may escape, depending on whether a tem… 59 void take(A arg) {} in take() function 71 take({&p}); // 1 in test() 72 take(CreateA(&p)); // 2 in test()
|
/llvm-project/llvm/docs/CommandGuide/ |
H A D | llvm-lipo.rst | 29 Take a single input file and verify the specified architectures are present in the file. 34 Take a single input file and display the architectures present in the file. 40 Take at least one input file and display the descriptions of each file. 48 Take a single universal binary input file and the thin flag followed by an architecture type. 53 Take at least one input file and require the output flag to be specified. 58 Take a single universal binary input file and require the output flag to be specified.
|
/llvm-project/clang/test/Driver/ |
H A D | riscv-march-mcpu-mtune.c | 13 // -mtune is given, pipeline model take from -mtune, arch ext. use 22 // -march is given, arch ext. take from -march, pipeline model use 38 // -mcpu and -mtune are given, so pipeline model take from -mtune, and arch ext. 39 // take from -mcpu since -march is not given. 55 // -mcpu and -march are given, so pipeline model take from -mcpu since -mtune is 56 // not given, and arch ext. take from -march. 65 // -mcpu, -march and -mtune are given, so pipeline model take from -mtune 66 // and arch ext. take from -march, -mcpu is unused.
|
/llvm-project/clang/include/clang/Sema/ |
H A D | ExternalSemaSource.h | 103 /// invoked multiple times; the external source should take care not to 113 /// invoked multiple times; the external source should take care not to 123 /// invoked multiple times; the external source should take care not to 133 /// invoked multiple times; the external source should take care not to 141 /// be invoked multiple times; the external source should take care not to 151 /// may be invoked multiple times; the external source should take care not 161 /// the external source should take care not to introduce the same identifiers 170 /// source should take care not to introduce the same vtables repeatedly. 178 /// external source should take care not to introduce the same instantiations 188 /// external source should take car [all...] |
H A D | MultiplexExternalSemaSource.h | 250 /// invoked multiple times; the external source should take care not to 259 /// invoked multiple times; the external source should take care not to 269 /// invoked multiple times; the external source should take care not to 279 /// invoked multiple times; the external source should take care not to 287 /// be invoked multiple times; the external source should take care not to 297 /// may be invoked multiple times; the external source should take care not 307 /// the external source should take care not to introduce the same identifiers 316 /// source should take care not to introduce the same vtables repeatedly. 324 /// external source should take care not to introduce the same instantiations 333 /// external source should take car [all...] |
/llvm-project/llvm/include/llvm/DebugInfo/DWARF/ |
H A D | DWARFFormValue.h | 171 /// Take an optional DWARFFormValue and try to extract a string value from it. 188 /// Take an optional DWARFFormValue and try to extract a string value from it. in toString() 207 /// Take an optional DWARFFormValue and extract a string value from it. 220 /// Take an optional DWARFFormValue and try to extract an unsigned constant. in toString() 232 /// Take an optional DWARFFormValue and extract a unsigned constant. in toUnsigned() 243 /// Take an optional DWARFFormValue and try to extract a relative offset in toUnsigned() 256 /// Take an optional DWARFFormValue and extract a relative offset reference. 267 /// Take an optional DWARFFormValue and try to extract an absolute debug info 280 /// Take an optional DWARFFormValue and extract an absolute debug info offset 293 /// Take a [all...] |
/llvm-project/flang/include/flang/Optimizer/Builder/Runtime/ |
H A D | Reduction.h | 79 /// that does not take a dim argument. 92 /// that does not take a dim argument. 104 /// that does not take a dim argument. 116 /// that does not take a dim argument. 134 /// that does not take a dim argument. 152 /// that does not take a dim argument. 168 /// that does not take a dim argument. 180 /// that does not take a dim argument. 192 /// that does not take a dim argument. 204 /// that does not take a dim argument. [all …]
|
/llvm-project/flang/runtime/ |
H A D | lock.h | 43 RT_API_ATTRS void Take() {} in Take() function 50 void Take() { 63 Take(); 74 void Take() { EnterCriticalSection(&cs_); } 78 void Take() { mutex_.lock(); } 107 lock_.Take();
|
/llvm-project/clang/lib/Sema/ |
H A D | SemaMIPS.cpp | 79 // These intrinsics take an unsigned 3 bit immediate. in CheckMipsBuiltinArgument() 92 // These intrinsics take an unsigned 4 bit immediate. in CheckMipsBuiltinArgument() 105 // These intrinsics take an unsigned 5 bit immediate. in CheckMipsBuiltinArgument() 146 // These intrinsics take an unsigned 6 bit immediate. in CheckMipsBuiltinArgument() 159 // These intrinsics take a signed 5 bit immediate. in CheckMipsBuiltinArgument() 180 // These intrinsics take an unsigned 8 bit immediate. in CheckMipsBuiltinArgument() 192 // These intrinsics take an unsigned 4 bit immediate. in CheckMipsBuiltinArgument() 198 // These intrinsics take an unsigned 3 bit immediate. in CheckMipsBuiltinArgument() 204 // These intrinsics take an unsigned 2 bit immediate. in CheckMipsBuiltinArgument() 210 // These intrinsics take a in CheckMipsBuiltinArgument() [all...] |
/llvm-project/lld/test/MachO/ |
H A D | lto-common-symbol-resolution.ll | 23 ;; Defined symbols take precedence over common bitcode symbols. 37 ;; lld: Weak bitcode symbols take precedence over common bitcode symbols. 43 ;; Weak non-bitcode symbols take precedence over common bitcode symbols. 49 ;; ld64: Archive symbols take precedence over common bitcode symbols. 50 ;; lld: Common bitcode symbols take precedence over archive symbols. 58 ;; ld64: Dylib symbols take precedence over common bitcode symbols. 59 ;; lld: Common bitcode symbols take precedence over dylib symbols.
|
/llvm-project/clang/test/CXX/temp/temp.param/ |
H A D | p15-cxx0x.cpp | 80 template<template<decltype(X)> class ...Take, 83 typedef types<typename Take<_>::type...> take; typedef 88 template<unsigned N, typename...Ts> struct take { struct 90 …template inner<wrap<Ts>::template inner...>::take; // expected-error {{too few template arguments}} 97 using T1 = take<3, int, char, double, long>::type; // expected-note {{previous}} 104 using T2 = take<4, int, char, double, long>::type; // expected-note {{previous}} 112 using T3 = take<5, int, char, double, long>::type; // expected-note {{in instantiation of}}
|
/llvm-project/flang/include/flang/Common/ |
H A D | reference-counted.h | 39 CountedReference(type *m) : p_{m} { Take(); } in CountedReference() 40 CountedReference(const CountedReference &c) : p_{c.p_} { Take(); } in CountedReference() 43 c.Take(); 62 void Take() const { in Take() function
|
/llvm-project/lldb/test/API/test_utils/ |
H A D | TestDecorators.py | 38 """Test that xfail can take a regex as a matcher""" 43 """Test that xfail can take a no_match matcher""" 101 """Test that xfail can take a regex as a matcher""" 106 """Test that xfail can take a no_match matcher"""
|
/llvm-project/clang/test/CodeGen/ |
H A D | pass-by-value-noalias.c | 14 // WITH_NOALIAS: define{{.*}} void @take(ptr noalias noundef %arg) 15 // NO_NOALIAS: define{{.*}} void @take(ptr noundef %arg) 16 void take(struct Foo arg) {} in take() function
|
/llvm-project/clang/include/clang/Basic/ |
H A D | TokenKinds.def | 886 // The lexer produces these so that they only take effect when the parser 891 // The lexer produces these so that they only take effect when the parser 896 // The lexer produces these so that they only take effect when the parser 901 // The lexer produces these so that they only take effect when the parser 911 // The lexer produces these so that they only take effect when the parser 916 // The lexer produces these so that they only take effect when the parser 921 // The lexer produces these so that they only take effect when the parser 926 // The lexer produces these so that they only take effect when the parser 931 // The lexer produces these so that they only take effect when the parser 936 // The lexer produces these so that they only take effec [all...] |