Lines Matching refs:DeclGroupRef
55 class DeclGroupRef {
66 DeclGroupRef() : D(nullptr) {} in DeclGroupRef() function
68 explicit DeclGroupRef(Decl* d) : D(d) {} in DeclGroupRef() function
69 explicit DeclGroupRef(DeclGroup* dg) in DeclGroupRef() function
72 static DeclGroupRef Create(ASTContext &C, Decl **Decls, unsigned NumDecls) { in Create()
74 return DeclGroupRef(); in Create()
76 return DeclGroupRef(Decls[0]); in Create()
77 return DeclGroupRef(DeclGroup::Create(C, Decls, NumDecls)); in Create()
92 return const_cast<DeclGroupRef*>(this)->getSingleDecl(); in getSingleDecl()
100 return const_cast<DeclGroupRef*>(this)->getDeclGroup(); in getDeclGroup()
130 static DeclGroupRef getFromOpaquePtr(void *Ptr) { in getFromOpaquePtr()
131 DeclGroupRef X; in getFromOpaquePtr()
144 class PointerLikeTypeTraits<clang::DeclGroupRef> {
146 static inline void *getAsVoidPointer(clang::DeclGroupRef P) { in getAsVoidPointer()
149 static inline clang::DeclGroupRef getFromVoidPointer(void *P) { in getFromVoidPointer()
150 return clang::DeclGroupRef::getFromOpaquePtr(P); in getFromVoidPointer()