Lines Matching refs:DeclOrIterator
348 llvm::PointerUnion<const NamedDecl *, const DeclIndexPair *> DeclOrIterator; member in ResultBuilder::ShadowMapEntry::iterator
368 iterator() : DeclOrIterator((NamedDecl *)nullptr), SingleDeclIndex(0) {} in iterator()
371 : DeclOrIterator(SingleDecl), SingleDeclIndex(Index) { } in iterator()
374 : DeclOrIterator(Iterator), SingleDeclIndex(0) { } in iterator()
377 if (DeclOrIterator.is<const NamedDecl *>()) { in operator ++()
378 DeclOrIterator = (NamedDecl *)nullptr; in operator ++()
383 const DeclIndexPair *I = DeclOrIterator.get<const DeclIndexPair*>(); in operator ++()
385 DeclOrIterator = I; in operator ++()
396 if (const NamedDecl *ND = DeclOrIterator.dyn_cast<const NamedDecl *>()) in operator *()
399 return *DeclOrIterator.get<const DeclIndexPair*>(); in operator *()
407 return X.DeclOrIterator.getOpaqueValue() in operator ==()
408 == Y.DeclOrIterator.getOpaqueValue() && in operator ==()