Home
last modified time | relevance | path

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 Dmake-shared.rst12 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 Dmake-unique.rst12 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 Dmain.c11 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 Dmake-unique-cxx11.cpp7 auto my_ptr = std::unique_ptr<int>(new int(1)); in f() local
H A Dmake-unique-inaccessible-ctors.cpp56 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 Dmain.cpp5 void* my_ptr[] = { in main() local
/llvm-project-15.0.7/clang/docs/
H A DClangTransformerTutorial.rst183 ``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 Dmap.rst683 <b>(lldb)</b> watchpoint set expression -- my_ptr
685 <b>(lldb)</b> wa s e -- my_ptr