Searched refs:my_ptr (Results 1 – 8 of 8) sorted by relevance
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/modernize/ |
| H A D | make-shared.rst | 12 auto my_ptr = std::shared_ptr<MyPair>(new MyPair(1, 2)); 16 auto my_ptr = std::make_shared<MyPair>(1, 2); 23 my_ptr.reset(new MyPair(1, 2)); 27 my_ptr = std::make_shared<MyPair>(1, 2);
|
| H A D | make-unique.rst | 12 auto my_ptr = std::unique_ptr<MyPair>(new MyPair(1, 2)); 16 auto my_ptr = std::make_unique<MyPair>(1, 2); 23 my_ptr.reset(new MyPair(1, 2)); 27 my_ptr = std::make_unique<MyPair>(1, 2);
|
| /llvm-project-15.0.7/lldb/test/API/functionalities/ptr_refs/ |
| H A D | main.c | 11 const char *my_ptr = strdup("hello"); in main() local 13 r->p = my_ptr; in main()
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/modernize/ |
| H A D | make-unique-cxx11.cpp | 7 auto my_ptr = std::unique_ptr<int>(new int(1)); in f() local
|
| H A D | make-unique-inaccessible-ctors.cpp | 56 auto my_ptr = std::unique_ptr<int>(new int(1)); in f() local
|
| /llvm-project-15.0.7/lldb/test/API/commands/command/nested_alias/ |
| H A D | main.cpp | 5 void* my_ptr[] = { in main() local
|
| /llvm-project-15.0.7/clang/docs/ |
| H A D | ClangTransformerTutorial.rst | 183 ``my_object.foo()``, but it will also rewrite ``my_ptr->child().foo()`` to 184 ``my_ptr.foo()``, which is not what we intend. We could fix this by restricting
|
| /llvm-project-15.0.7/lldb/docs/use/ |
| H A D | map.rst | 683 <b>(lldb)</b> watchpoint set expression -- my_ptr 685 <b>(lldb)</b> wa s e -- my_ptr
|