Home
last modified time | relevance | path

Searched refs:takes_pointer (Results 1 – 15 of 15) sorted by relevance

/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang-tools-extra/test/clang-tidy/checkers/
H A Dcppcoreguidelines-owning-memory.cpp23 void takes_pointer(int *unowned_int) { in takes_pointer() function
191 takes_pointer(&stack_int); // Ok in test_unowned_function_calls()
192 takes_pointer(unowned_int1); // Ok in test_unowned_function_calls()
193 takes_pointer(owned_int1); // Ok in test_unowned_function_calls()
194 takes_pointer(new int(42)); // Bad, since new creates and owner in test_unowned_function_calls()
197 takes_pointer(returns_owner1()); // Bad in test_unowned_function_calls()
200 takes_pointer(returns_no_owner1()); // Ok in test_unowned_function_calls()
223 takes_pointer(HeapInt1); // Ok
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
H A Dcppcoreguidelines-owning-memory.cpp23 void takes_pointer(int *unowned_int) { in takes_pointer() function
191 takes_pointer(&stack_int); // Ok in test_unowned_function_calls()
192 takes_pointer(unowned_int1); // Ok in test_unowned_function_calls()
193 takes_pointer(owned_int1); // Ok in test_unowned_function_calls()
194 takes_pointer(new int(42)); // Bad, since new creates and owner in test_unowned_function_calls()
197 takes_pointer(returns_owner1()); // Bad in test_unowned_function_calls()
200 takes_pointer(returns_no_owner1()); // Ok in test_unowned_function_calls()
223 takes_pointer(HeapInt1); // Ok
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/clang-tools-extra/test/clang-tidy/checkers/
H A Dcppcoreguidelines-owning-memory.cpp23 void takes_pointer(int *unowned_int) { in takes_pointer() function
191 takes_pointer(&stack_int); // Ok in test_unowned_function_calls()
192 takes_pointer(unowned_int1); // Ok in test_unowned_function_calls()
193 takes_pointer(owned_int1); // Ok in test_unowned_function_calls()
194 takes_pointer(new int(42)); // Bad, since new creates and owner in test_unowned_function_calls()
197 takes_pointer(returns_owner1()); // Bad in test_unowned_function_calls()
200 takes_pointer(returns_no_owner1()); // Ok in test_unowned_function_calls()
223 takes_pointer(HeapInt1); // Ok
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/tools/extra/test/clang-tidy/checkers/
H A Dcppcoreguidelines-owning-memory.cpp23 void takes_pointer(int *unowned_int) { in takes_pointer() function
191 takes_pointer(&stack_int); // Ok in test_unowned_function_calls()
192 takes_pointer(unowned_int1); // Ok in test_unowned_function_calls()
193 takes_pointer(owned_int1); // Ok in test_unowned_function_calls()
194 takes_pointer(new int(42)); // Bad, since new creates and owner in test_unowned_function_calls()
197 takes_pointer(returns_owner1()); // Bad in test_unowned_function_calls()
200 takes_pointer(returns_no_owner1()); // Ok in test_unowned_function_calls()
223 takes_pointer(HeapInt1); // Ok
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang-tools-extra/test/clang-tidy/checkers/
H A Dcppcoreguidelines-owning-memory.cpp23 void takes_pointer(int *unowned_int) { in takes_pointer() function
191 takes_pointer(&stack_int); // Ok in test_unowned_function_calls()
192 takes_pointer(unowned_int1); // Ok in test_unowned_function_calls()
193 takes_pointer(owned_int1); // Ok in test_unowned_function_calls()
194 takes_pointer(new int(42)); // Bad, since new creates and owner in test_unowned_function_calls()
197 takes_pointer(returns_owner1()); // Bad in test_unowned_function_calls()
200 takes_pointer(returns_no_owner1()); // Ok in test_unowned_function_calls()
223 takes_pointer(HeapInt1); // Ok
/dports/devel/llvm90/llvm-9.0.1.src/tools/clang/tools/extra/test/clang-tidy/
H A Dcppcoreguidelines-owning-memory.cpp23 void takes_pointer(int *unowned_int) { in takes_pointer() function
191 takes_pointer(&stack_int); // Ok in test_unowned_function_calls()
192 takes_pointer(unowned_int1); // Ok in test_unowned_function_calls()
193 takes_pointer(owned_int1); // Ok in test_unowned_function_calls()
194 takes_pointer(new int(42)); // Bad, since new creates and owner in test_unowned_function_calls()
197 takes_pointer(returns_owner1()); // Bad in test_unowned_function_calls()
200 takes_pointer(returns_no_owner1()); // Ok in test_unowned_function_calls()
223 takes_pointer(HeapInt1); // Ok
/dports/devel/llvm12/llvm-project-12.0.1.src/clang-tools-extra/test/clang-tidy/checkers/
H A Dcppcoreguidelines-owning-memory.cpp23 void takes_pointer(int *unowned_int) { in takes_pointer() function
191 takes_pointer(&stack_int); // Ok in test_unowned_function_calls()
192 takes_pointer(unowned_int1); // Ok in test_unowned_function_calls()
193 takes_pointer(owned_int1); // Ok in test_unowned_function_calls()
194 takes_pointer(new int(42)); // Bad, since new creates and owner in test_unowned_function_calls()
197 takes_pointer(returns_owner1()); // Bad in test_unowned_function_calls()
200 takes_pointer(returns_no_owner1()); // Ok in test_unowned_function_calls()
223 takes_pointer(HeapInt1); // Ok
/dports/devel/llvm10/llvm-10.0.1.src/tools/clang/tools/extra/test/clang-tidy/checkers/
H A Dcppcoreguidelines-owning-memory.cpp23 void takes_pointer(int *unowned_int) { in takes_pointer() function
191 takes_pointer(&stack_int); // Ok in test_unowned_function_calls()
192 takes_pointer(unowned_int1); // Ok in test_unowned_function_calls()
193 takes_pointer(owned_int1); // Ok in test_unowned_function_calls()
194 takes_pointer(new int(42)); // Bad, since new creates and owner in test_unowned_function_calls()
197 takes_pointer(returns_owner1()); // Bad in test_unowned_function_calls()
200 takes_pointer(returns_no_owner1()); // Ok in test_unowned_function_calls()
223 takes_pointer(HeapInt1); // Ok
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/clang-tools-extra/test/clang-tidy/checkers/
H A Dcppcoreguidelines-owning-memory.cpp23 void takes_pointer(int *unowned_int) { in takes_pointer() function
191 takes_pointer(&stack_int); // Ok in test_unowned_function_calls()
192 takes_pointer(unowned_int1); // Ok in test_unowned_function_calls()
193 takes_pointer(owned_int1); // Ok in test_unowned_function_calls()
194 takes_pointer(new int(42)); // Bad, since new creates and owner in test_unowned_function_calls()
197 takes_pointer(returns_owner1()); // Bad in test_unowned_function_calls()
200 takes_pointer(returns_no_owner1()); // Ok in test_unowned_function_calls()
223 takes_pointer(HeapInt1); // Ok
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/clang-tools-extra/test/clang-tidy/checkers/
H A Dcppcoreguidelines-owning-memory.cpp23 void takes_pointer(int *unowned_int) { in takes_pointer() function
191 takes_pointer(&stack_int); // Ok in test_unowned_function_calls()
192 takes_pointer(unowned_int1); // Ok in test_unowned_function_calls()
193 takes_pointer(owned_int1); // Ok in test_unowned_function_calls()
194 takes_pointer(new int(42)); // Bad, since new creates and owner in test_unowned_function_calls()
197 takes_pointer(returns_owner1()); // Bad in test_unowned_function_calls()
200 takes_pointer(returns_no_owner1()); // Ok in test_unowned_function_calls()
223 takes_pointer(HeapInt1); // Ok
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/clang-tools-extra/test/clang-tidy/checkers/
H A Dcppcoreguidelines-owning-memory.cpp23 void takes_pointer(int *unowned_int) { in takes_pointer() function
191 takes_pointer(&stack_int); // Ok in test_unowned_function_calls()
192 takes_pointer(unowned_int1); // Ok in test_unowned_function_calls()
193 takes_pointer(owned_int1); // Ok in test_unowned_function_calls()
194 takes_pointer(new int(42)); // Bad, since new creates and owner in test_unowned_function_calls()
197 takes_pointer(returns_owner1()); // Bad in test_unowned_function_calls()
200 takes_pointer(returns_no_owner1()); // Ok in test_unowned_function_calls()
223 takes_pointer(HeapInt1); // Ok
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
H A Dcppcoreguidelines-owning-memory.cpp23 void takes_pointer(int *unowned_int) { in takes_pointer() function
191 takes_pointer(&stack_int); // Ok in test_unowned_function_calls()
192 takes_pointer(unowned_int1); // Ok in test_unowned_function_calls()
193 takes_pointer(owned_int1); // Ok in test_unowned_function_calls()
194 takes_pointer(new int(42)); // Bad, since new creates and owner in test_unowned_function_calls()
197 takes_pointer(returns_owner1()); // Bad in test_unowned_function_calls()
200 takes_pointer(returns_no_owner1()); // Ok in test_unowned_function_calls()
223 takes_pointer(HeapInt1); // Ok
/dports/devel/llvm13/llvm-project-13.0.1.src/clang-tools-extra/test/clang-tidy/checkers/
H A Dcppcoreguidelines-owning-memory.cpp23 void takes_pointer(int *unowned_int) { in takes_pointer() function
191 takes_pointer(&stack_int); // Ok in test_unowned_function_calls()
192 takes_pointer(unowned_int1); // Ok in test_unowned_function_calls()
193 takes_pointer(owned_int1); // Ok in test_unowned_function_calls()
194 takes_pointer(new int(42)); // Bad, since new creates and owner in test_unowned_function_calls()
197 takes_pointer(returns_owner1()); // Bad in test_unowned_function_calls()
200 takes_pointer(returns_no_owner1()); // Ok in test_unowned_function_calls()
223 takes_pointer(HeapInt1); // Ok
/dports/devel/llvm80/llvm-8.0.1.src/tools/clang/tools/extra/test/clang-tidy/
H A Dcppcoreguidelines-owning-memory.cpp23 void takes_pointer(int *unowned_int) { in takes_pointer() function
191 takes_pointer(&stack_int); // Ok in test_unowned_function_calls()
192 takes_pointer(unowned_int1); // Ok in test_unowned_function_calls()
193 takes_pointer(owned_int1); // Ok in test_unowned_function_calls()
194 takes_pointer(new int(42)); // Bad, since new creates and owner in test_unowned_function_calls()
197 takes_pointer(returns_owner1()); // Bad in test_unowned_function_calls()
200 takes_pointer(returns_no_owner1()); // Ok in test_unowned_function_calls()
223 takes_pointer(HeapInt1); // Ok
/dports/devel/llvm70/llvm-7.0.1.src/tools/clang/tools/extra/test/clang-tidy/
H A Dcppcoreguidelines-owning-memory.cpp23 void takes_pointer(int *unowned_int) {
191 takes_pointer(&stack_int); // Ok
192 takes_pointer(unowned_int1); // Ok
193 takes_pointer(owned_int1); // Ok
194 takes_pointer(new int(42)); // Bad, since new creates and owner
197 takes_pointer(returns_owner1()); // Bad
200 takes_pointer(returns_no_owner1()); // Ok
223 takes_pointer(HeapInt1); // Ok