| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | captured-statements.cpp | 8 #pragma clang __debug captured in test_nest_lambda() 17 #pragma clang __debug captured in test_nest_lambda() 34 #pragma clang __debug captured in test() 36 #pragma clang __debug captured in test() 45 #pragma clang __debug captured in test() 47 #pragma clang __debug captured in test() 49 #pragma clang __debug captured in test() 57 #pragma clang _debug captured in template_capture_var() 85 #pragma clang _debug captured in template_capture_var() 123 #pragma clang __debug captured in template_capture_func() [all …]
|
| H A D | predefined-expr.cpp | 41 #pragma clang __debug captured in baz() 71 #pragma clang __debug captured in main() 77 #pragma clang __debug captured in main() 86 #pragma clang __debug captured in main()
|
| /llvm-project-15.0.7/clang/test/Sema/ |
| H A D | captured-statements.c | 6 #pragma clang __debug captured in test_gotos() 18 #pragma clang __debug captured in test_break_continue() 28 #pragma clang __debug captured in test_return() 37 #pragma clang __debug captured in test_nest() 40 #pragma clang __debug captured in test_nest() 43 #pragma clang __debug captured in test_nest() 56 #pragma clang __debug captured in test_nest_block() 66 #pragma clang __debug captured in test_nest_block() 75 #pragma clang __debug captured in test_nest_block()
|
| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | captured-statements.cpp | 22 #pragma clang __debug captured in MemberFunc() 57 #pragma clang __debug captured in test2() 77 #pragma clang __debug captured in test3() 92 #pragma clang __debug captured in test4() 112 #pragma clang __debug captured in template_capture_var() 123 #pragma clang __debug captured in set() 131 #pragma clang __debug captured in foo() 167 #pragma clang __debug captured in template_capture_lambda() 187 #pragma clang __debug captured in test_captured_linkage()
|
| H A D | trivial-auto-var-init.cpp | 54 __block xyz_t captured = create(^() { in test_block_self_init() local 55 used(captured); in test_block_self_init() 74 __block xyz_t captured; in test_block_captures_self_after_init() local 75 captured = create(^() { in test_block_captures_self_after_init() 76 used(captured); in test_block_captures_self_after_init()
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | captured-statements.c | 15 #pragma clang __debug captured in test1() 40 #pragma clang __debug captured in test2() 59 #pragma clang __debug captured in test3() 70 #pragma clang __debug captured in test4() 85 #pragma clang __debug captured in dont_capture_global()
|
| H A D | captured-statements-nested.c | 17 #pragma clang __debug captured in test_nest_captured_stmt() 21 #pragma clang __debug captured in test_nest_captured_stmt() 24 #pragma clang __debug captured in test_nest_captured_stmt() 103 #pragma clang __debug captured in test_nest_block() 124 #pragma clang __debug captured in test_nest_block()
|
| /llvm-project-15.0.7/clang/test/SemaObjC/ |
| H A D | warn-retain-cycle.m | 11 [x setBlock: // expected-note {{block will be retained by the captured object}} 13 x.block = // expected-note {{block will be retained by the captured object}} 16 [x addBlock: // expected-note {{block will be retained by the captured object}} 32 … // expected-note {{block will be retained by the captured object}} 73 …; // expected-note {{block will be retained by an object strongly retained by the captured object}} 93 …{ // expected-note {{block will be retained by an object strongly retained by the captured object}} 124 …{ // expected-note {{block will be retained by an object strongly retained by the captured object}} 148 __block block_t b1 = ^{ // expected-note{{block will be retained by the captured object}} 153 b2 = ^{ // expected-note{{block will be retained by the captured object}} 169 [obj setBlock:[^{ // expected-note{{block will be retained by the captured object}} [all …]
|
| /llvm-project-15.0.7/compiler-rt/test/xray/TestCases/Posix/ |
| H A D | arg1-logging-implicit-this.cpp | 19 volatile uint64_t captured = 0; variable 22 captured = arg1; in handler() 30 assert(captured == (uint64_t)&instance); in main()
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | stack-capture-leak-arc.mm | 24 is captured by an asynchronously-executed block}} 43 is captured by an asynchronously-executed block}} 64 is captured by an asynchronously-executed block}} 75 is captured by an asynchronously-executed block}} 85 is captured by a returned block}} 91 is captured by an asynchronously-executed block}} 112 is captured by an asynchronously-executed block}} 184 …arning{{Address of stack memory associated with local variable 'buf' is captured by an asynchronou…
|
| H A D | stack-capture-leak-no-arc.mm | 15 // Block_copy(...) copies the captured block ("inner") too, 35 …warning-re{{Address of stack-allocated block declared on line {{.+}} is captured by a returned blo…
|
| H A D | blocks.m | 83 // test2 - Test that captured variables that are uninitialized are flagged 88 ^{ y = x + 1; }(); // expected-warning{{Variable 'x' is uninitialized when captured by block}} 99 …myblock f = ^(void) { f(); }; // expected-warning{{Variable 'f' is uninitialized when captured by … 124 // uninitialized when captured by the exterior block (when it is only 125 // captured by the interior block).
|
| /llvm-project-15.0.7/flang/test/Lower/ |
| H A D | host-associated.f90 | 329 integer :: captured local 336 stmt_func(i) = i + captured 350 integer :: captured, captured_stmt_func, i local 351 captured_stmt_func(i) = i + captured
|
| /llvm-project-15.0.7/llvm/test/DebugInfo/X86/ |
| H A D | debug-info-block-captured-self.ll | 4 ; Test that DW_AT_location is generated for a captured "self" inside a 8 ; llvm/tools/clang/test/CodeGenObjC/debug-info-block-captured-self.m 63 ; ModuleID = 'llvm/tools/clang/test/CodeGenObjC/debug-info-block-captured-self.m' 69 …%block.captured-self = getelementptr inbounds <{ i8*, i32, i32, i8*, %struct.__block_descriptor*, … 76 …%block.captured-self = getelementptr inbounds <{ i8*, i32, i32, i8*, %struct.__block_descriptor*, … 84 !1 = !DIFile(filename: "llvm/tools/clang/test/CodeGenObjC/debug-info-block-captured-self.m", direct… 108 !107 = !DIFile(filename: "llvm/tools/clang/test/CodeGenObjC/debug-info-block-captured-self.m", dire…
|
| /llvm-project-15.0.7/clang/test/Profile/Inputs/ |
| H A D | c-captured.proftext | 1 c-captured.c:__captured_stmt 7 c-captured.c:__captured_stmt.1
|
| /llvm-project-15.0.7/clang/test/Parser/ |
| H A D | captured-statements.c | 5 …#pragma clang __debug captured x // expected-warning {{extra tokens at end of #pragma clang __debu… in test1() 12 #pragma clang __debug captured in test2()
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/ |
| H A D | no-escape.m | 15 …// CHECK-MESSAGES: :[[@LINE-2]]:25: warning: pointer 'p' with attribute 'noescape' is captured by … 21 …// CHECK-MESSAGES: :[[@LINE-2]]:30: warning: pointer 'p' with attribute 'noescape' is captured by … 26 …NOT: :[[@LINE-2]]:25: warning: pointer 'q' with attribute 'noescape' is captured by an asynchronou…
|
| /llvm-project-15.0.7/clang/test/CXX/expr/expr.prim/expr.prim.lambda/ |
| H A D | blocks.mm | 5 (void)[var] { }; // expected-error{{__block variable 'var' cannot be captured in a lambda}} 7 …(void)[=] { var = 17; }; // expected-error{{__block variable 'var' cannot be captured in a lambda}} 10 void conversion_to_block(int captured) { 11 int (^b1)(int) = [=](int x) { return x + captured; }; 13 const auto lambda = [=](int x) { return x + captured; };
|
| /llvm-project-15.0.7/clang/test/Profile/ |
| H A D | c-captured.c | 24 #pragma clang __debug captured in debug_captured() 36 #pragma clang __debug captured in debug_captured()
|
| /llvm-project-15.0.7/clang/test/PCH/ |
| H A D | captured-stmt.cpp | 11 #pragma clang __debug captured in foo() 24 #pragma clang __debug captured in bar()
|
| /llvm-project-15.0.7/openmp/docs/remarks/ |
| H A D | OMP113.rst | 3 Could not move globalized variable to the stack. Variable is potentially captured in call. Mark par… 7 stack because it is potentially captured by a call to a function we cannot 9 its pointer cannot be stored. Otherwise it is considered captured and could 46 potentially captured in call. Mark parameter as `__attribute__((noescape))` to
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/bugprone/ |
| H A D | no-escape.rst | 6 Finds pointers with the ``noescape`` attribute that are captured by an 9 ``noescape`` attribute is captured by one of these blocks.
|
| /llvm-project-15.0.7/clang/test/SemaObjCXX/ |
| H A D | capturing-flexible-array-in-block.mm | 7 …; // expected-error {{variable 'a' with flexible array member cannot be captured in a lambda expre… 8 …[] {return a.x;}(); // expected-error {{variable 'a' cannot be implicitly captured in a lambda wit…
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | CaptureTracking.cpp | 85 bool captured(const Use *U) override { in captured() function 129 bool captured(const Use *U) override { in captured() function 174 bool captured(const Use *U) override { in captured() function 475 if (Tracker->captured(U)) in PointerMayBeCaptured()
|
| /llvm-project-15.0.7/llvm/test/FileCheck/match-time-error-propagation/ |
| H A D | matched-excluded-pattern.txt | 11 ; because it seems useless: it's captured only if the pattern matches, but then 40 ERR-NEXT:<stdin>:1:5: note: captured var "STR" 52 DUMP-NEXT:not:1'2 !~~ captured var "STR"
|