| /llvm-project-15.0.7/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.observers/ |
| H A D | get_deleter.pass.cpp | 40 typedef std::unique_ptr<VT, const Deleter&> UPtr; in test_basic() typedef 42 UPtr p(nullptr, d); in test_basic() 43 const UPtr& cp = p; in test_basic() 50 typedef std::unique_ptr<VT, Deleter&> UPtr; in test_basic() typedef 52 UPtr p(nullptr, d); in test_basic() 53 const UPtr& cp = p; in test_basic()
|
| H A D | explicit_bool.pass.cpp | 21 template <class UPtr> 22 void doTest(UPtr& p, bool ExpectTrue) { in doTest()
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.hash/ |
| H A D | hash_unique_ptr.pass.cpp | 33 using UPtr = std::unique_ptr<ValueT, Del>; in test_enabled_with_deleter() typedef 34 using pointer = typename UPtr::pointer; in test_enabled_with_deleter() 37 UPtr p(nullptr, std::forward<Del>(d)); in test_enabled_with_deleter() 38 test_hash_enabled_for_type<UPtr>(p); in test_enabled_with_deleter() 44 using UPtr = std::unique_ptr<ValueT, Del>; in test_disabled_with_deleter() typedef 45 using pointer = typename UPtr::pointer; in test_disabled_with_deleter() 46 test_hash_disabled_for_type<UPtr>(); in test_disabled_with_deleter()
|
| /llvm-project-15.0.7/compiler-rt/lib/gwp_asan/ |
| H A D | guarded_pool_allocator.cpp | 281 uintptr_t UPtr = reinterpret_cast<uintptr_t>(Ptr); in deallocate() local 282 size_t Slot = State.getNearestSlot(UPtr); in deallocate() 284 AllocationMetadata *Meta = addrToMetadata(UPtr); in deallocate() 285 if (Meta->Addr != UPtr) { in deallocate() 288 trapOnAddress(UPtr, Error::INVALID_FREE); in deallocate() 296 trapOnAddress(UPtr, Error::DOUBLE_FREE); in deallocate()
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/ |
| H A D | unused-return-value.cpp | 101 std::unique_ptr<Foo> UPtr; in warning() local 102 UPtr.release(); in warning()
|
| /llvm-project-15.0.7/llvm/lib/Bitstream/Reader/ |
| H A D | BitstreamReader.cpp | 354 auto *UPtr = reinterpret_cast<const unsigned char *>(Ptr); in readRecord() local 355 Vals.append(UPtr, UPtr + NumElts); in readRecord()
|
| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | Indexing.cpp | 562 auto *UPtr = Unit.get(); in clang_indexSourceFile_Impl() local 621 IndexAction.get(), UPtr, Persistent, CXXIdx->getClangResourcesPath(), in clang_indexSourceFile_Impl() 625 printDiagsToStderr(UPtr); in clang_indexSourceFile_Impl() 627 if (isASTReadError(UPtr)) in clang_indexSourceFile_Impl()
|
| /llvm-project-15.0.7/third-party/benchmark/src/ |
| H A D | sysinfo.cc | 328 using UPtr = std::unique_ptr<PInfo, decltype(&std::free)>; in GetCacheSizesWindows() typedef 330 UPtr buff((PInfo*)malloc(buffer_size), &std::free); in GetCacheSizesWindows()
|
| /llvm-project-15.0.7/clang/test/Analysis/Inputs/ |
| H A D | system-header-simulator-cxx.h | 196 template <typename UT, typename UPtr, typename URef> 232 template <typename UT, typename UPtr, typename URef>
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | TypePrinter.cpp | 1646 case attr::UPtr: OS << " __uptr"; break; in printAttributedBefore() 1752 case attr::UPtr: in printAttributedAfter()
|
| H A D | Type.cpp | 3611 case attr::UPtr: in isMSTypeSpec()
|
| /llvm-project-15.0.7/llvm/lib/Frontend/OpenMP/ |
| H A D | OMPIRBuilder.cpp | 1192 for (Use *UPtr : Uses) in createParallel() 1193 UPtr->set(ReplacementValue); in createParallel()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaType.cpp | 7188 } else if (Attrs[attr::SPtr] && Attrs[attr::UPtr]) { in handleMSPointerTypeQualifierAttr() 7216 else if (Attrs[attr::UPtr]) in handleMSPointerTypeQualifierAttr() 7219 if (Attrs[attr::UPtr]) in handleMSPointerTypeQualifierAttr()
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | Attr.td | 3578 def UPtr : TypeAttr {
|