Home
last modified time | relevance | path

Searched refs:OpaquePtr (Results 1 – 9 of 9) 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/llvm-project/clang/include/clang/Sema/
DOwnership.h50 class OpaquePtr {
53 explicit OpaquePtr(void *Ptr) : Ptr(Ptr) {} in OpaquePtr() function
58 OpaquePtr(std::nullptr_t = nullptr) {}
60 static OpaquePtr make(PtrTy P) { OpaquePtr OP; OP.set(P); return OP; } in make()
91 static OpaquePtr getFromOpaquePtr(void *P) { return OpaquePtr(P); } in getFromOpaquePtr()
99 static UnionOpaquePtr make(OpaquePtr<T> P) { in make()
104 OpaquePtr<T> get() const { return OpaquePtr<T>::getFromOpaquePtr(Ptr); } in get()
105 operator OpaquePtr<T>() const { return get(); }
107 UnionOpaquePtr &operator=(OpaquePtr<T> P) {
118 struct PointerLikeTypeTraits<clang::OpaquePtr<T>> {
[all …]
DSema.h390 typedef OpaquePtr<DeclGroupRef> DeclGroupPtrTy;
391 typedef OpaquePtr<TemplateName> TemplateTy;
392 typedef OpaquePtr<QualType> TypeTy;
/external/clang/test/Index/
Dcomment-cplus-template-decls.cpp78 class OpaquePtr {}; class
81 typedef OpaquePtr<int> DeclGroupPtrTy;
/external/llvm-project/clang/test/Index/
Dcomment-cplus-template-decls.cpp78 class OpaquePtr {}; class
81 typedef OpaquePtr<int> DeclGroupPtrTy;
/external/llvm-project/llvm/unittests/FuzzMutate/
DRandomIRBuilderTest.cpp260 Instruction *OpaquePtr = &*std::next(BB.begin()); in TEST() local
263 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;
/external/llvm-project/clang/include/clang/Parse/
DParser.h449 typedef OpaquePtr<DeclGroupRef> DeclGroupPtrTy;
450 typedef OpaquePtr<TemplateName> TemplateTy;