Home
last modified time | relevance | path

Searched refs:captured (Results 1 – 25 of 142) sorted by relevance

123456

/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dcaptured-statements.cpp8 #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 Dpredefined-expr.cpp41 #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 Dcaptured-statements.c6 #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 Dcaptured-statements.cpp22 #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 Dtrivial-auto-var-init.cpp54 __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 Dcaptured-statements.c15 #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 Dcaptured-statements-nested.c17 #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 Dwarn-retain-cycle.m11 [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 Darg1-logging-implicit-this.cpp19 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 Dstack-capture-leak-arc.mm24 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 Dstack-capture-leak-no-arc.mm15 // 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 Dblocks.m83 // 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 Dhost-associated.f90329 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 Ddebug-info-block-captured-self.ll4 ; 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 Dc-captured.proftext1 c-captured.c:__captured_stmt
7 c-captured.c:__captured_stmt.1
/llvm-project-15.0.7/clang/test/Parser/
H A Dcaptured-statements.c5 …#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 Dno-escape.m15 …// 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 Dblocks.mm5 (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 Dc-captured.c24 #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 Dcaptured-stmt.cpp11 #pragma clang __debug captured in foo()
24 #pragma clang __debug captured in bar()
/llvm-project-15.0.7/openmp/docs/remarks/
H A DOMP113.rst3 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 Dno-escape.rst6 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 Dcapturing-flexible-array-in-block.mm7 …; // 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 DCaptureTracking.cpp85 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 Dmatched-excluded-pattern.txt11 ; 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"

123456