Lines Matching refs:Ptr
147 void *Ptr = Name.getFETokenInfo<void>(); in AddDecl() local
149 if (!Ptr) { in AddDecl()
156 if (isDeclPtr(Ptr)) { in AddDecl()
159 NamedDecl *PrevD = static_cast<NamedDecl*>(Ptr); in AddDecl()
162 IDI = toIdDeclInfo(Ptr); in AddDecl()
172 void *Ptr = Name.getFETokenInfo<void>(); in InsertDeclAfter() local
174 if (!Ptr) { in InsertDeclAfter()
179 if (isDeclPtr(Ptr)) { in InsertDeclAfter()
184 NamedDecl *PrevD = static_cast<NamedDecl*>(Ptr); in InsertDeclAfter()
198 IdDeclInfo *IDI = toIdDeclInfo(Ptr); in InsertDeclAfter()
213 void *Ptr = Name.getFETokenInfo<void>(); in RemoveDecl() local
215 assert(Ptr && "Didn't find this decl on its identifier's chain!"); in RemoveDecl()
217 if (isDeclPtr(Ptr)) { in RemoveDecl()
218 assert(D == Ptr && "Didn't find this decl on its identifier's chain!"); in RemoveDecl()
223 return toIdDeclInfo(Ptr)->RemoveDecl(D); in RemoveDecl()
232 void *Ptr = Name.getFETokenInfo<void>(); in begin() local
233 if (!Ptr) return end(); in begin()
235 if (isDeclPtr(Ptr)) in begin()
236 return iterator(static_cast<NamedDecl*>(Ptr)); in begin()
238 IdDeclInfo *IDI = toIdDeclInfo(Ptr); in begin()
302 void *Ptr = Name.getFETokenInfo<void>(); in tryAddTopLevelDecl() local
304 if (!Ptr) { in tryAddTopLevelDecl()
311 if (isDeclPtr(Ptr)) { in tryAddTopLevelDecl()
312 NamedDecl *PrevD = static_cast<NamedDecl*>(Ptr); in tryAddTopLevelDecl()
341 IDI = toIdDeclInfo(Ptr); in tryAddTopLevelDecl()
395 void *Ptr = Name.getFETokenInfo<void>(); in operator []() local
397 if (Ptr) return *toIdDeclInfo(Ptr); in operator []()