Home
last modified time | relevance | path

Searched refs:OpaquePtr (Results 1 – 5 of 5) sorted by relevance

/external/clang/include/clang/Sema/
DOwnership.h46 class OpaquePtr {
48 explicit OpaquePtr(void *Ptr) : Ptr(Ptr) {} in OpaquePtr() function
53 OpaquePtr(std::nullptr_t = nullptr) {}
55 static OpaquePtr make(PtrTy P) { OpaquePtr OP; OP.set(P); return OP; } in make()
86 static OpaquePtr getFromOpaquePtr(void *P) { return OpaquePtr(P); } in getFromOpaquePtr()
94 static UnionOpaquePtr make(OpaquePtr<T> P) { in make()
99 OpaquePtr<T> get() const { return OpaquePtr<T>::getFromOpaquePtr(Ptr); } in get()
100 operator OpaquePtr<T>() const { return get(); }
102 UnionOpaquePtr &operator=(OpaquePtr<T> P) {
111 class PointerLikeTypeTraits<clang::OpaquePtr<T> > {
[all …]
DSema.h289 typedef OpaquePtr<DeclGroupRef> DeclGroupPtrTy;
290 typedef OpaquePtr<TemplateName> TemplateTy;
291 typedef OpaquePtr<QualType> TypeTy;
/external/clang/test/Index/
Dcomment-cplus-template-decls.cpp78 class OpaquePtr {}; class
81 typedef OpaquePtr<int> DeclGroupPtrTy;
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/FuzzMutate/
DRandomIRBuilderTest.cpp261 Instruction *OpaquePtr = &*std::next(BB.begin()); in TEST() local
264 Value *V = IB.findOrCreateSource(BB, {FuncPtr, OpaquePtr}); in TEST()
/external/clang/include/clang/Parse/
DParser.h266 typedef OpaquePtr<DeclGroupRef> DeclGroupPtrTy;
267 typedef OpaquePtr<TemplateName> TemplateTy;