reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
53 struct InvalidQuery : Query { 63 struct NoOpQuery : Query { 71 struct HelpQuery : Query { 79 struct QuitQuery : Query { 87 struct MatchQuery : Query { 100 struct LetQuery : Query { 122 template <typename T> struct SetQuery : Query { 139 struct SetExclusiveOutputQuery : Query { 156 struct SetNonExclusiveOutputQuery : Query {
125 static void retain(T *obj) { obj->Retain(); } 126 static void release(T *obj) { obj->Release(); } 136 T *Obj = nullptr; 139 using element_type = T; 142 IntrusiveRefCntPtr(T *obj) : Obj(obj) { retain(); } 147 IntrusiveRefCntPtr(IntrusiveRefCntPtr<X> &&S) : Obj(S.get()) { 152 IntrusiveRefCntPtr(const IntrusiveRefCntPtr<X> &S) : Obj(S.get()) { 163 T &operator*() const { return *Obj; } 164 T *operator->() const { return Obj; } 165 T *get() const { return Obj; } 169 T *tmp = other.Obj; 184 IntrusiveRefCntPtrInfo<T>::retain(Obj); 189 IntrusiveRefCntPtrInfo<T>::release(Obj); 252 using SimpleType = T *; 254 static SimpleType getSimplifiedValue(IntrusiveRefCntPtr<T> &Val) { 260 using SimpleType = /*const*/ T *; 262 static SimpleType getSimplifiedValue(const IntrusiveRefCntPtr<T> &Val) {include/llvm/Support/Casting.h
57 static inline bool doit(const From &Val) { 90 static inline bool doit(const From *Val) { 92 return isa_impl<To, From>::doit(*Val);tools/clang/tools/extra/clang-query/Query.h
38 struct Query : llvm::RefCountedBase<Query> { 50 typedef llvm::IntrusiveRefCntPtr<Query> QueryRef; 53 struct InvalidQuery : Query { 59 static bool classof(const Query *Q) { return Q->Kind == QK_Invalid; } 63 struct NoOpQuery : Query { 67 static bool classof(const Query *Q) { return Q->Kind == QK_NoOp; } 71 struct HelpQuery : Query { 75 static bool classof(const Query *Q) { return Q->Kind == QK_Help; } 79 struct QuitQuery : Query { 83 static bool classof(const Query *Q) { return Q->Kind == QK_Quit; } 87 struct MatchQuery : Query { 97 static bool classof(const Query *Q) { return Q->Kind == QK_Match; } 100 struct LetQuery : Query { 108 static bool classof(const Query *Q) { return Q->Kind == QK_Let; } 122 template <typename T> struct SetQuery : Query { 130 static bool classof(const Query *Q) { 139 struct SetExclusiveOutputQuery : Query { 150 static bool classof(const Query *Q) { return Q->Kind == QK_SetOutputKind; } 156 struct SetNonExclusiveOutputQuery : Query { 173 static bool classof(const Query *Q) { return Q->Kind == QK_EnableOutputKind; } 180 static bool classof(const Query *Q) {